Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training

Get Filters

get
Get Filters

https://papi.pepperi.com/v1.0/open_catalog/filters?where={where}&search_string={searchString}&search_string_fields={fields}&fields={fields}&distinct_fields={distinctFields}
This endpoint allows you to get filters
Request
Response
Request
Headers
Token
required
string
Query Parameters
where
optional
string
search_string
optional
string
search_string_fields
optional
string
only indexed fields, list comma separated.
distinct_fields
required
string
fields for smart search, list comma separated. only string type fields.
Response
200: OK
successfully retrieved.
[
{
"APIName" : "ItemTSABrand",
"Values" : [
{
"value" : "LG",
"doc_count" : 145
},
{
"value" : "Samsung",
"doc_count" : 102
},
{
"value" : "Apple",
"doc_count" : 13
}
]
},
{
"APIName" : "TSAColor",
"Values" : [
{
"value" : "Blue",
"doc_count" : 84
},
{
"value" : "White",
"doc_count" : 78
},
{
"value" : "Red",
"doc_count" : 78
},
{
"value" : "Black",
"doc_count" : 67
}
]
},
{
"APIName" : "TSASecondColor",
"Values" : [
{
"value" : "Blue",
"doc_count" : 84
},
{
"value" : "White",
"doc_count" : 78
},
{
"value" : "Red",
"doc_count" : 78
},
{
"value" : "Black",
"doc_count" : 67
}
]
}
.
.
.
]

The fields values are objects. Therefore for query parameters on field's value need to use {fieldName}.Value