Retrieve variations
๐ This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: catalog(r).
Retrieve all item variations, optionally filtered by id(s).
Request
- Base URLhttps://ac.cnstrc.com
- URLhttps://ac.cnstrc.com/v2/variations
- Auth
- HTTP basic
- or HTTP bearer
Query parameters
The key of the index to use.
The section of the index to use. Defaults to Products.
The ID(s) of the variations to return.
[ "red-nike-shoes" ]
The item ID(s) of variations to return.
[ "nike-shoes" ]
Pagination cursor from which to start returning results. Cannot be used together with page or offset.
The number of results per page to return.
The page of results to return.
The number of results to skip from the beginning. Cannot be used together with page.
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Response
OK
Example response
{
"total_count": 100,
"variations": [
{
"data": {
"keywords": [
"running"
],
"url": "http://www.example.com/product/123",
"image_url": "http://www.example.com/images/product.jpg",
"group_ids": [
"shoes"
],
"description": "A comfortable running shoe with cushioned sole",
"active": true,
"is_default": true
}
}
],
"next_page_cursor": "red-nike-shoes"
}Changes
No recorded changes to this operation across all 1 revision of this API.