Query market specific inventory using Admin API

Topic summary

Shopify Markets introduces “surface the right inventory” per market based on which inventory locations ship to that market, implying inventory availability may vary by customer country/market. The post questions how to access this market-aware inventory through the Admin GraphQL API.

Key issue:

  • Current Admin API inventory fields don’t appear to support market/customer context.
  • The 2022-01 Admin API release notes state ProductVariant.sellableOnlineQuantity does not represent total available inventory or reflect customer-location limitations.

Open questions:

  • How to query products using an inventory_total-style filter that is customer-context aware (similar to contextualPricing).
  • How to retrieve the correct variant inventory levels for a given market context.
  • Whether this capability is planned in upcoming Admin GraphQL API updates.

No resolution is provided; the discussion is a request for clarification/roadmap.

Summarized with AI on February 25. AI used: gpt-5.2.

The blog post on the newly announced Shopify Markets features describes the ability to:

surface the right inventory to your online store based on the inventory locations that ship to a particular market

My understanding from this paragraph is that the inventory levels for a product will be segmented by “market” or customer context (country?) - as also described here.

However the Admin API doesn’t seem to support this inventory context, and the 2022-01 API release notes even mentions specifically that the new ProductVariant sellableOnlineQuantity field “doesn’t represent the total available inventory or capture limitations based on customer location.”

So question is: how will we be able to query products based on inventory_total filter (which should be customer context aware - same as contextualPricing) or query correct inventory levels for variants based on context?

Is this planned for next round of updates for the Admin GraphQL API?