orders
View as MarkdownQuery `orders` on the order subgraph (Order).
query
Requires commerce.order:read.
Query orders on the order subgraph (Order).
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
beforeIDoptional — Look for entries before that cursorafterIDoptional — Look for entries after that cursorfirstIntoptional — Look for the first entries (paginate forward)lastIntoptional — Look for the last entries (paginate backward)
Possible returns
QueryOrdersConnectionQueryOrdersConnection
Last updated on
How is this guide?