TanqoryDocs

tanqoryExtOrderEmailMessages

  • Query
  • Orders and payments

The emails of one order, newest first (at most 100). Empty for an order of another store.

Arguments

ArgumentTypeRequiredDefault
orderIdID!Required

Returns

[TanqoryExtEmailMessage!]!

FieldTypeDescription
attemptsInt!
channelString!

EMAIL or SMS.

createdAtDateTime!
customerIdID
events[TanqoryExtEmailMessageEvent!]!

What the email provider reported, oldest first.

handleString!

The notification's handle (e.g. ORDER_CONFIRMATION), or the sender's kind (e.g. MESSAGING_CAMPAIGN, ABANDONED_CHECKOUT).

idID!
marketingBoolean!

Whether it went out as marketing email.

orderIdID
pausedForReputationBoolean!

NOT_SENT because the store's marketing is paused for its sender reputation (tanqoryExtEmailHealth).

recipientString!
resendableBoolean!

Whether tanqoryExtEmailMessageResend can send it again.

sentAtDateTime
statusTanqoryExtEmailMessageStatus!
statusReasonString

Why it bounced, was not sent or failed, in the provider's or our words; null otherwise.

suppressionReasonTanqoryExtEmailSuppressionReason

NOT_SENT because of the store's suppression list: the reason on the list.

updatedAtDateTime!

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 TanqoryExtOrderEmailMessages($orderId: ID!) {\n  tanqoryExtOrderEmailMessages(orderId: $orderId) {\n    attempts\n    channel\n    createdAt\n    customerId\n    handle\n    id\n    marketing\n    orderId\n    pausedForReputation\n    recipient\n  }\n}","variables":{"orderId":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10