Best way to search inventory for a specific physical store?

Topic summary

Main issue: Searching inventory for a specific physical store and whether products can be retrieved per store via the Storefront API.

Current approach: Uses the Admin API to fetch the store (location) and then its InventoryLevel records (stock per location).

Pain points: InventoryLevel objects cannot be sorted, making the workflow cumbersome. Expresses frustration with inconsistencies between the Storefront API (customer-facing GraphQL for storefront data) and the Admin API (backend management data).

Open question: Is there a way to query products for a specific physical store directly via the Storefront API?

Status: No resolution or guidance provided yet; the thread is seeking clarification.

Key terms:

  • Storefront API: GraphQL API optimized for storefront queries (e.g., products, collections).
  • Admin API: Management API used for operational data (e.g., locations, inventory).
  • InventoryLevel: Stock quantity object tied to a specific store/location.
Summarized with AI on January 3. AI used: gpt-5.

I have been trying to search the inventory of a specific physical store.

Is it possible to retrieve products for a specific store via the Storefront API?

I have been using the Admin API to retrieve the individual store and then retrieve its inventoryLevels. However, it is quite frustrating that that the retrieved InventoryLevel objects can’t be sorted. Overall I’m pretty frustrated by the inconsistencies between the two APIs.