TanqoryDocs

tanqoryExtStorefrontPopup

  • Query
  • Orders and payments

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtStorefrontPopup A storefront pop-up.

FieldTypeDescription
bodyString
consentTextString

The consent line next to the sign-up's checkbox; null shows the theme's own wording.

createdAtDateTime!
ctaLabelString!

The button: "Subscribe" on a sign-up, the link's label on an announcement.

ctaUrlString

An announcement's button link: a path on the store or an https URL.

discountCodeString

The discount code a sign-up reveals; null when none.

discountUsableBoolean!

The discount can be used now (false when it ended or has not started, or there is none).

endsAtDateTime
frequencyDaysInt!

0: once per browser session; N: not again for N days after it was shown.

headingString!
idID!
kindTanqoryExtStorefrontPopupKind!
languageString!

The language the text is written in (BCP 47, e.g. "en").

liveBoolean!

Shown on the storefront now: ACTIVE, inside its schedule, and pop-ups are turned on.

nameString!

The merchant's own name for it, never shown to shoppers.

pages[TanqoryExtStorefrontPopupPage!]!

Where it may show; [ALL] for every page.

resultsTanqoryExtStorefrontPopupResults!

Totals over the last days days (UTC), or since it was made when null.

resultsByDay[TanqoryExtStorefrontPopupDay!]!

One row per UTC day for the last days days (default 30, at most 365), oldest first.

startsAtDateTime
statusTanqoryExtStorefrontPopupStatus!
tags[String!]!

Tags added to the customer a sign-up creates or updates.

triggerTanqoryExtStorefrontPopupTrigger!
triggerValueInt!

Seconds (DELAY), percent scrolled (SCROLL) or 0 (EXIT_INTENT).

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 TanqoryExtStorefrontPopup($id: ID!) {\n  tanqoryExtStorefrontPopup(id: $id) {\n    body\n    consentText\n    createdAt\n    ctaLabel\n    ctaUrl\n    discountCode\n    discountUsable\n    endsAt\n    frequencyDays\n    heading\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit 0cac88ece6de · API version 2026-10