Admin API / Queries

order

Finds an order by ID. A caller reads their own orders and the orders of the stores that they staff. A caller with the ADMIN or OWNER role reads every order. A caller below the SELLER role who has open seller obligations reads only their own orders with open obligations. Null when no readable order has the ID.

Requires a client key with one of these scopes: admin:orders:readRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
order(
  id: ID!
): Order

Arguments

ArgumentTypeDescription
idID!The order to look up.

Return type

Order