v1
latestOpenAPI 3.1.02026-07-241765501.1 MBGet results
Retrieve AI optimized quiz results for products (or optionally other sections).
Path parameters
The id of the quiz
Query parameters
Index key for the customer's product catalog
The section of the index to use. Defaults to products.
Specific quiz session id for the quiz. Session id will be automatically assigned if it is not specified.
Specific version id for the quiz.
Specific version id for the quiz. Deprecated, please use quiz_version_id instead.
Any number of criteria by which you'd like to narrow the result set. This might be by color, size, or category (group) an item belongs to. Facets can be used as filters. Filters with the same key are 'OR'ed together, while filters with different keys are 'AND'ed together by default. If value has the form '<min>-<max>', it's interpreted as a range (e.g: 'filters[Price]=100-200' will match all items with 'Price' from '100' to '200').
Specifies the number of results returned in each request. Defaults to 20 if not specified.
Specifies the page number of the result to be fetched. Defaults to 1 if not specified.
A list of answers in the format ?a=<option_id>,<option_id>&a=<option_id> where multiple options for a single answer are supplied in the same answer parameter (separated by ",") and options for the next question are supplied in the next answer parameter.
Response
OK - Everything worked as expected.
Example response
{
"filter_expression": {
"or": [
{
"and": [
{
"name": "TEST_FILTER_NAME",
"value": "TEST_FILTER_VALUE"
},
{
"not": {
"name": "TEST_FILTER_NAME_2",
"value": "TEST_FILTER_VALUE_2"
}
}
]
},
{
"name": "TEST_FILTER_NAME_3",
"value": "TEST_FILTER_VALUE_3"
}
]
}
}