Support

inventoryCount

View as Markdown

Query `inventoryCount` on the catalog subgraph (Inventory).

query

Requires commerce.product:read.

Query inventoryCount on the catalog subgraph (Inventory).

Required headers

HeaderRequiredDescription
x-store-idYesID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED".

Go to Authentication for credential setup.

Arguments

  • locationId String! required
  • skuId String! required
  • type String optional

Possible returns

  • InventoryCount [InventoryCount!] — Represents the quantity of a SKU in a specific state at a particular time and location.

Last updated on

How is this guide?