Why i'm not able to get quantity of a variant when one item is in committed state?

Topic summary

Issue: Variant inventory quantity is returning 0 for some products after a Shopify inventory system update. Previously, the correct quantities were returned.

Details: Affected products show 1 item in a “committed” state and 5 items in an “available” state, yet the variant’s quantity fetch returns 0.

Key terms:

  • Committed: inventory reserved/allocated to orders and not immediately sellable.
  • Available: inventory that is in stock and sellable.

Implication: The update may have changed how inventory states are surfaced or how APIs/queries calculate reported quantities, possibly excluding committed/available from the returned variant quantity in certain contexts.

Open questions:

  • Which endpoint or method is being used to retrieve quantity (e.g., Storefront API, Admin API, or theme liquid)?
  • Should quantity reflect only available stock, or include committed?

Status: No resolution or guidance provided yet; the poster is asking if this can be solved.

Summarized with AI on February 17. AI used: gpt-5.

Hi. I’m getting the perfect quantity of product variants. But there are some products where I’m getting 0 instead of a quantity of a variant and those products have 1 product in committed and 5 products in available state.

It’s working fine before the update of the inventory system. Is it possible to solve this issue?