14 July 2025
Composable Commerce
HTTP API
Enhancement
Product catalogSearch
You can now calculate statistical aggregations such as minimum, maximum, average, sum, and count on numeric and date fields directly within your Product Search facet results using our new Stats facets. This allows you to gain valuable insights into your product data — like price ranges or average ratings — without needing to perform separate queries.
Stats facet about centAmount of product variant pricesjson
{
  "facets": {
    "results": [
      {
        "name": "pricesStatsVariants",
        "min": 100,
        "max": 300,
        "mean": 200,
        "sum": 600,
        "count": 3
      }
    ]
  }
}