v1
latestOpenAPI 3.0.32026-07-173196215.4 KBList values
Retrieve the filter values and product counts for a specific filterGroup, for example: /v1/filters/sale/values?filters[category]=20201 will show how many products in the category "20201" are on sale and how many of them are not on sale.
Any valid attribute group can be used. Additionally, these special filters are supported: sale, categoryids, savings, prices, brands, and isnew.
Path parameters
Group Name
Query parameters
Filter the products which belong to a specific category.
Term-based search that returns products where the provided search term matches the name or attribute value within the products. E.g., filters[term]=blue shirts
Note: The attributes used for searching are configured in the Panel.
The API will split the searched term into multiple words. Then it will try to match each of these words against products' name and searchable attributes. The better the searched term matches against a product, the higher the product is returned. But it only requires a single word to match for a product to be returned.
A detailed explanation of the functionality can be found in SCAYLE Panel developer guide
It disables the typo tolerance value configured for this request. When the parameter is not provided, the typo tolerance is automatically applied according to the typo tolerance configuration in SCAYLE panel.
You can include only results for products with the specified is_new state.
- The filters[isNew]=true parameter only retrieves products which are considered new.
- The filters[isNew]=false parameter only retrieves products which are not considered new.
When is a product considered as new?:
Products are considered "new" when they were inserted into the shop within a period of 28 days. This value can be adjusted accordingly for each shop.
Only include results with the specified attribute value for the attribute parameter attributeKey, e.g,: filters[brand]=882.
- Any attribute available on the products via with=attributes might be used as a filter.
Exclude results with the specified attribute value for the attribute parameter attributeKey, e.g,: filters:not[brand]=882&filters:not[color]=549.
- Any attribute available on the products via with=attributes might be used as a filter exclusion.
- You can provide multiple not filters (e.g. retrieve all products that are not red and not from brand Nike) in the query and multiple values for a single attribute e.g.: filters:not[color]=545,345
Adjust prices based on the specified campaignKey. If results are not having a matching campaign, the default price is returned.
Please note, that campaign prices are stored in advance and available earlier than the campaign starts.
Response
successful operation
Example response
[
{
"name": "42",
"productCount": 1231,
"id": 55,
"value": "42"
}
]