TanqoryDocs

tanqoryExtEmailMessages

  • Query
  • Orders and payments

Every email (and SMS) the store sent through its outbox, by creation; reverse: true for the newest first. Narrow it to one customer or one recipient address. Sign-in codes and other mail sent outside the outbox are not listed.

Arguments

ArgumentTypeRequiredDefault
afterStringOptional
beforeStringOptional
customerIdIDOptional
emailStringOptional
firstIntOptional
lastIntOptional
reverseBooleanOptional

Returns

TanqoryExtEmailMessageConnection!

FieldTypeDescription
edges[TanqoryExtEmailMessageEdge!]!
nodes[TanqoryExtEmailMessage!]!
pageInfoPageInfo!

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 TanqoryExtEmailMessages($first: Int) {\n  tanqoryExtEmailMessages(first: $first) {\n    nodes {\n      attempts\n      channel\n      createdAt\n      customerId\n      handle\n      id\n      marketing\n      orderId\n      pausedForReputation\n      recipient\n    }\n    pageInfo { hasNextPage endCursor }\n  }\n}","variables":{"first":5}}'

Built from commit c0b3fb3fdef7 · API version 2026-10