inventoryCount
View as MarkdownQuery `inventoryCount` on the catalog subgraph (Inventory).
query
Requires commerce.product:read.
Query inventoryCount on the catalog subgraph (Inventory).
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID 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
locationIdString!requiredskuIdString!requiredtypeStringoptional
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?