TanqoryDocs

tanqoryExtNotificationTemplate

  • Query
  • Apps and platform

One notification by handle (e.g. ORDER_CONFIRMATION). Null when the handle does not exist.

Arguments

ArgumentTypeRequiredDefaultDescription
handleString!Required
localeStringOptional

Locale of the text (one of the 50 the apps offer); omitted = the store's primary locale. Each locale has its own text: a locale the merchant did not edit sends the built-in text of that locale.

Returns

TanqoryExtNotificationTemplate

FieldTypeDescription
audienceTanqoryExtNotificationAudience!
customizedBoolean!

Whether the email or SMS of this locale differs from the default.

defaultEmailBodyString!
defaultEmailSubjectString!
defaultReviewString!

Review state of the built-in text in this locale: source (English), needs-native-review (a machine draft, sent as is until reviewed) or reviewed.

editableBoolean!

Whether it has an email the merchant can edit.

emailBodyString!
emailSubjectString!
enabledBoolean!
groupString!

The section of the list, e.g. ORDER_PROCESSING.

handleString!

Stable key, e.g. ORDER_CONFIRMATION, STAFF_NEW_ORDER.

localeString!

The locale of the text below.

managedInString

Where this notification is turned on and set up instead of a switch in the list, e.g. PAYMENT_REMINDERS (Settings > Payments > Payment reminders). Null for the others.

notSentReasonString

Why it is not sent yet; null when it is sent.

outdatedBoolean!

The merchant's text was written against an older built-in text of this locale.

scheduleDayInt

Store order summary: weekday (0 = Sunday) and hour (store time zone). Null for others.

scheduleHourInt
sendTo[TanqoryExtNotificationChannel!]

Customer marketing confirmation only: the channels whose new marketing sign-ups wait for this confirmation (email subscribers, SMS subscribers). A channel left out subscribes at once. enabled and sendTo of this notification are the store's marketing double opt-in (TanqoryExtCustomerPrivacy.marketingDoubleOptIn, doubleOptInEmail, doubleOptInSms): one setting, edited from either page. Null for every other notification.

sentBoolean!

Whether anything in the system sends it. False: it has no event yet, whatever enabled says.

smsBodyString

The SMS text; null for a notification sent by email only.

toggleableBoolean!

Whether the merchant can switch it off. The one field every app reads for this: true, the list shows a switch; false, it is always sent and the list shows it as Required. A template page has no switch.

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 TanqoryExtNotificationTemplate($handle: String!) {\n  tanqoryExtNotificationTemplate(handle: $handle) {\n    audience\n    customized\n    defaultEmailBody\n    defaultEmailSubject\n    defaultReview\n    editable\n    emailBody\n    emailSubject\n    enabled\n    group\n  }\n}","variables":{"handle":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10