Get variants of published product by ID
Variants are the different versions of a product with different sizes, colors, or materials. For example, there are 12 variants of a laptop that comes in three sizes (13, 15, and 17 inches) and four colors (red, blue, grey, and white). By adding variants to products, you can offer shoppers more options. This endpoint gets a paginated list of variants of a published product by ID. Note:
1. You can narrow down the search results by specifying offset
and limit
. When they’re not specified, by default you’ll get up to 10 records.
2. If you don’t have product ID, use the corresponding SKU-based or item ID-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
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.
Response
Number of records to skip before returning records. For example, offset=20, limit=10
returns records 21-30.
Maximum number of records per page
Total number of records in the response
Was this page helpful?