TanqoryDocs

tanqoryExtOrderStatus

  • Query
  • Storefront

The order behind the thank-you and order status pages. Null when the order is unknown in this store or the key is not the order's status page key.

Arguments

ArgumentTypeRequiredDefault
orderIdID!Required
keyString!Required

Returns

TanqoryExtOrderStatus

FieldTypeDescription
orderOrder!

The order (storefront Order: lines, totals, addresses, financial and fulfillment status).

confirmationNumberString

The order's confirmation number (admin Order.confirmationNumber).

firstNameString

For "Thank you, <first name>!": the customer's, else the shipping address's, else the billing address's first name.

shippingLines[TanqoryExtOrderStatusShippingLine!]!
payments[TanqoryExtOrderStatusPayment!]!

Successful or pending charges and authorizations, oldest first.

fulfillments[TanqoryExtOrderStatusFulfillment!]!

Fulfillments that were not cancelled, in creation order.

dutiesEstimateTanqoryExtDutiesEstimate

The duties and import taxes of the order: under DDP what it collected (duties and import taxes apart), under DAP the estimate the buyer was shown at checkout (not collected); null when there was none.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_STOREFRONT_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://$STORE_HOST/api/v1/stores/$STORE_ID/2026-10/graphql" \
  -H "X-Tanqory-Storefront-Access-Token: $TANQORY_STOREFRONT_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtOrderStatus($orderId: ID!, $key: String!) {\n  tanqoryExtOrderStatus(orderId: $orderId, key: $key) {\n    order { id }\n    confirmationNumber\n    firstName\n  }\n}","variables":{"orderId":"gid://tanqory/Type/id","key":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10