Order Detail
Returns the complete order-view payload for a single order — the data behind the admin Sales → Orders → View screen.
Operation
| Operation | Type | Purpose |
|---|---|---|
adminOrderDetail | Query | Full detail of one order by ID |
Details
- Requires an admin Bearer token in the
Authorizationheader. - The
idargument is the resource IRI —"/api/admin/orders/{id}". - Everything the order-view screen needs is embedded inline: customer (with group), billing/shipping addresses, items, invoices, shipments, refunds, and the comment thread (
comments, newest first).
GraphQL shape notes
- Nested collections are plain JSON arrays.
items,invoices,shipments,refunds, andcommentsare returned as flat arrays (items { id ... }), identical to the REST endpoint. They are NOT GraphQL cursor connections — do not wrap them inedges { node { ... } }. (Prior to 2026-05-28 these were exposed as connections; the shape was unified with REST so both transports return the same payload.) idvs_id.idis the resource IRI (/api/admin/orders/2392);_idis the raw integer.
Product-type-aware items
Each item carries a type (simple, configurable, bundle, downloadable, grouped, virtual). Select the type-specific fields you need and switch on type in the client:
type | Type-specific fields |
|---|---|
simple, virtual | — |
configurable | child { ... }, additional |
bundle, grouped | children { ... }, additional |
downloadable | downloadableLinks |

