Retrieve variation product details
Retrieve requested product detail fields for one or more variations. Results preserve request order and repeated IDs. Every requested ID has a corresponding response entry.
Request
- Base URLhttps://product-details.cnstrc.com
- URLhttps://product-details.cnstrc.com/v1/variations
- Authnone required
Query parameters
The key of the index to use.
The section of the index to use (e.g. 'Products').
1 to 100 variation IDs to retrieve product details for. Repeat this parameter to specify multiple IDs.
The ID of the client and version that the request is coming from, such as cio-js-2.90.
A customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps Constructor to tie multiple client and session IDs together to form a behavioral data profile across devices.
One or more product detail fields to include in the response. This parameter may be repeated to specify multiple fields.
[ "enriched_attributes" ]
An integer representing the users session number (starting with 1), incremented after a 30 minute period of inactivity.
A globally unique identifier for the user browser (or mobile application instance) making the request.
Response
OK
Example response
{
"response": {
"variations": [
{
"enriched_attributes": {
"badges": [
{
"metadata": {
"times_was_seen_last_week": "123"
}
}
],
"attributes": {
"color": [
{
"type": "standard",
"value": "red"
},
{
"type": "standard",
"value": "green"
},
{
"type": "standard",
"value": "blue"
}
],
"neckline": [
{
"type": "standard",
"value": "round"
}
]
}
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.