TanqoryDocs

tanqoryExtPosOrder

  • Query
  • Orders and payments

One point of sale order the caller may act on at a register (as tanqoryExtPosOrders), or null.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtPosOrder A point of sale order as a register shows it: enough to reprint its receipt and take items back.

FieldTypeDescription
cancelledAtDateTime
customerTanqoryExtPosCustomer
displayFinancialStatusOrderDisplayFinancialStatus!
emailString
idID!

The order (gid://tanqory/Order/…).

lineItems[TanqoryExtPosOrderLine!]!
nameString!

The order's name, e.g. #1001.

payments[TanqoryExtPosOrderPayment!]!
processedAtDateTime!
retailLocationLocation

Where it was sold.

staffMemberNameString

Who sold it: the staff member's name.

subtotalMoneyV2!
taxesIncludedBoolean!
totalMoneyV2!
totalDiscountsMoneyV2!
totalRefundedMoneyV2!
totalTaxMoneyV2!

Example request

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

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

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtPosOrder($id: ID!) {\n  tanqoryExtPosOrder(id: $id) {\n    cancelledAt\n    customer { id }\n    displayFinancialStatus\n    email\n    id\n    lineItems { id }\n    name\n    payments { id }\n    processedAt\n    retailLocation { id }\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10