location
View as MarkdownQuery `location` on the catalog subgraph (Inventory).
query
Requires commerce.product:read.
Query location on the catalog subgraph (Inventory).
Examples use a placeholder UUID, not a real location id. Query
locations first and copy a real id. Unknown ids return HTTP 200 with data.location: null.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
idString!required
Possible returns
LocationLocation— A location represents the physical location of an inventory.
Last updated on
How is this guide?