Admin API / Queries

orderByReceiptId

Finds an order by its receipt code, such as 7KQ2M9 in "Order #7KQ2M9". Ignores a leading # and spaces, and also tries the code in upper case. Null when no order with the code is visible to the caller, as for order.

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.
orderByReceiptId(
  receiptId: NonEmptyString!
): Order

Arguments

ArgumentTypeDescription
receiptIdNonEmptyString!The receipt code from an order email, a dashboard link or the buyer.

Return type

Order