Support

Query `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

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

  • id String! required

Possible returns

  • Location Location — A location represents the physical location of an inventory.

Last updated on

How is this guide?