v1
latestOpenAPI 3.1.02026-07-241765501.1 MBFacets
Retrieve facet option
🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: facets(r).
Retrieve facet option with specified facet_name and facet_option_value.
get/v1/facets/{facet_name}/options/{facet_option_value}
Path parameters
facet_namestring required
Example:Brand
facet_option_valuestring required
Example:Nike
Query parameters
keystring required
The key of the index to use.
Example:key_K2pX7vBnU0bgA5xp
sectionstring
The section of the index to use. Defaults to Products.
Example:Products
cstring
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Example:cio-js-2.90
Response
OK
Example response
{
"value": "Red",
"value_alias": "blue",
"replace_value_alias": true,
"display_name": "Bright Red",
"position": 1,
"data": {
"hex": "#FF0000"
}
}