Support

Query `orders` on the order subgraph (Order).

query

Requires commerce.order:read.

Query orders on the order subgraph (Order).

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

  • before ID optional — Look for entries before that cursor
  • after ID optional — Look for entries after that cursor
  • first Int optional — Look for the first entries (paginate forward)
  • last Int optional — Look for the last entries (paginate backward)

Possible returns

  • QueryOrdersConnection QueryOrdersConnection

Last updated on

How is this guide?

On this page