12 September 2025
Composable Commerce
HTTP API
Enhancement
Product catalogSearch
You can now use Product Search to query Products based on whether any of their Product Variants are discounted. The query checks the variant.prices.discounted field at the Variant level to determine whether a Product qualifies.

This makes it easier to:

  • Highlight discounted products in storefronts.
  • Build collections or categories of sale items.
  • Improve promotional campaigns by surfacing discounted products first.

Changes:

Example query:

Search for Products with discounted pricesjson
{
  "query": {
    "exact": {
      "field": "variants.prices.discounted",
      "value": true
    }
  }
}