29 April 2025
Composable Commerce
HTTP API
Enhancement
Product catalogSearch
You can now filter Product Search results to show only products with an InventoryEntry assigned to a specific supplyChannel. Previously, filtering was limited to the current availability for the specific supply channel. This enhancement allows you to easily identify Product Variants that are listed on a specific supply channel but are currently out of stock, providing better visibility into your channel-specific inventory.
Example queryjson
{
    "query": {
        "and": [
            {
                "exact": {
                    "field": "variants.availability.hasInventoryEntryForChannel",
                    "value": "2b62dc25-7850-4fea-80f8-2c57c90649a5"
                }
            },
            {
                "not": [
                    {
                        "exact": {
                            "field": "variants.availability.isOnStockForChannel",
                            "value": "2b62dc25-7850-4fea-80f8-2c57c90649a5"
                        }
                    }
                ]
            }
        ]
    }
}