Storefront graphql quantityAvailable

AI-generated summary

Access to the quantityAvailable field in the Storefront API (version 2021-10) is not working despite inventory tracking being enabled and the unauthenticated_read_product_inventory access scope granted. The user expects quantityAvailable (available inventory for a product variant) to be retrievable but cannot access it.

  • Context: Custom Storefront using Shopify Storefront GraphQL API v2021-10.
  • Permissions: unauthenticated_read_product_inventory scope is enabled; Shopify is tracking product quantities.
  • Issue: quantityAvailable remains inaccessible (exact error/response not specified).
  • Attachment: A screenshot is included, likely showing the scope and/or query, which appears central to the issue.

No solutions, workarounds, or clarifications were provided. The thread is currently unresolved and awaiting guidance on how to successfully query quantityAvailable under these conditions.

Hello,

I am using version 2021-10 and have granted the permission unauthenticated_read_product_inventory access scope and Shopify is tracking quantity

But I am unable to access quantityAvailable

Thank you for any help