19 June 2025
Composable Commerce
HTTP API
Enhancement
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.
Sort by scoped price (channel and currency)json
{
  "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"
    }
  ]
}