v1
latestOpenAPI 3.1.02026-07-241765501.1 MBRetrieve facets with their options (values)
Retrieve facets with options for end users.
Query parameters
The key of the index to use.
The section of the index to use. Defaults to Products.
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.
A date time representing the current moment in time when applying filtering by product age. Used to emulate "past/future" requests. Requires authentication.
{
"hidden_facets": [
"store_id"
]
}The url or app location where the request originated.
The ID of the client and version that the request is coming from, such as cio-js-2.90.
A customer defined context (such as vip-club-member) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple us arguments.
[ "vip-member" ]
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.
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": {
"facets": [
{
"options": [
{
"value": "Red",
"value_alias": "blue",
"replace_value_alias": true,
"display_name": "Bright Red",
"position": 1,
"data": {
"hex": "#FF0000"
}
}
],
"name": "Brand",
"display_name": "Brand Name",
"sort_descending": true,
"position": 1,
"options_limit": 300,
"data": {
"key": "value"
}
}
]
}
}