Skip to content
gist.link ↗

order

Query Shop API — POST https://shop.api.gist.link/graphql

A single order by uuid. ADMIN.

shop:query:order

The calling IAM key must hold this permission (or a wildcard that covers it: shop:query:* or shop:*) and the access token must have been minted with audience=shop. See Permissions.

type Query {
order(id: String!): Order
}
Argument Type Required Description
id String! Yes —

Order — see the Shop types reference.

Terminal window
curl https://shop.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Order($id: String!) { order(id: $id) { id uuid email currency total status created_at updated_at } }",
"variables": {
"id": "example"
}
}
JSON