12 September 2025
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:
- [API] Added the
variants.prices.discounted
field to the searchable Product fields.
Example query:
{
"query": {
"exact": {
"field": "variants.prices.discounted",
"value": true
}
}
}