19 June 2025
Product catalogSearch
You can now define multiple sort filters in the search query language.
For Product Search it means, you can now sort products correctly with price scopes applied, for example, currency and country.
Previously, you could apply only one sort filter per request.
- [API] Changed type of
filter
property in type SearchSorting from SearchQueryExpression to SearchQuery.
{
"sort": [
{
"field": "variants.prices.centAmount",
"filter": {
"and": [
{
"exact": {
"field": "variants.prices.channel",
"value": "fb16244b-3963-4b9e-9cb0-69a1f563a854"
}
},
{
"exact": {
"field": "variants.prices.currencyCode",
"value": "EUR"
}
}
]
},
"order": "asc"
}
]
}