Closed Komal2905 closed 4 years ago
That link is for the Admin API, which is used to extend the merchant experience. These SDK's use the Storefront API, which is used to build custom storefronts (buying experiences).
totalInventory
will be available in the 2020-04
version of the Storefront API, and this SDK will be updated shortly after the API is publicly released. Note that you will need the unauthenticated_read_product_inventory
scope to read product inventory.
I need total inventory of product and I can see in following document that It can get by totalInventory field. https://help.shopify.com/en/api/graphql-admin-api/reference/object/product?api[version]=2019-10
but can see this value in Storefront.ProductQuery