Get collections by product ID
On your Storefront products are organized or grouped in logical groups called Collections. The main purpose of Collection is distribution management by displaying products on your website based on separate browsing structures required to achieve specific merchandising objectives, such as organizational requirements, multi-regional assortments, multi-channel assortments, and collections. This endpoint gets the collection details of a published product by ID. You can refine your search results by specifying query parameters - collectionIds
and collectionRootName
Note:
1. You can narrow down the results by specifying offset
and limit
. When they’re not specified, by default, you’ll get up to 10 products.
2. If you don’t have product ID, use the corresponding item ID-based or SKU-based endpoints.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
Path Parameters
24-character system-generated product ID.
Query Parameters
Comma-separated collection IDs
Comma-separated list of root collection names. For example, Bose Frames Alto is both a Fashion and an Electronics item.
Locale name
Maximum number of records per page
Number of records to skip before returning records. For example, offset=20, limit=10
returns records 21-30.
Was this page helpful?