TanqoryDocs

tanqoryExtCheckoutConfiguration

  • Query
  • Storefront

The published checkout configuration of the store: the checkout editor's branding, the checkout field settings and the shop policies the checkout links to. Public per store (no secret). countryCode is the buyer's country: the market that sells to it uses its own configuration when it has one (Markets > a market > Checkout and accounts), else the store's published configuration. cartId (with its key) is the checkout's cart: its buyer's market decides, a company location's market before its country's; a cart id without its key is ignored.

Arguments

ArgumentTypeRequiredDefault
countryCodeCountryCodeOptional
cartIdIDOptional

Returns

TanqoryExtCheckoutConfiguration!

FieldTypeDescription
idID

The published CheckoutAndAccountsConfiguration (admin API id), or null when the store has none yet.

brandingJSON

The published configuration's branding, in the shape of the admin type CheckoutAndAccountsConfigurationBranding (designTokens, components, surfaces; images resolved to { image { url altText width height } }, font groups carry __typename). Null when nothing is set.

fieldsTanqoryExtCheckoutFieldSettings!

Which address and contact fields the checkout shows, and whether they are required.

policies[ShopPolicy!]!

The shop policies with a body, in footer order: refund, shipping, privacy, terms of service, terms of sale, subscription, legal notice, contact.

accountsMenuHandleString

Handle of the store menu the customer account pages show in their header (checkout and accounts editor > Main > Navigation). Null: the store's main menu (main-menu).

contactMethodTanqoryExtCheckoutContactMethod!

Settings > Checkout > Customer contact method. EMAIL whenever sign-in is required.

nameModeTanqoryExtCheckoutNameMode!

Settings > Checkout > Customer information > Full name.

requireSignInBoolean!

Settings > Checkout > Require customers to sign in to their account before checkout.

marketingOptIns[TanqoryExtCheckoutMarketingOptIn!]!

The marketing sign-up boxes the checkout shows (Settings > Checkout > Marketing options), in order email, SMS, WhatsApp; a box the merchant turned off is left out. preselected is how the box starts for a buyer in countryCode (the email box starts ticked only where the opt-out regime applies; SMS and WhatsApp never).

tippingTanqoryExtCheckoutTipping!

Settings > Checkout > Tipping.

newOrderRefusalTanqoryExtNewOrderRefusal

Why the store cannot take a new order now (shown before the buyer fills anything in); null when it can.

moneyFormatTanqoryExtCheckoutMoneyFormat!

Settings > General > Currency formatting, for amounts in the store's currency.

cookieBannerTanqoryExtCheckoutCookieBanner!

The checkout cookie banner for a buyer in countryCode: showInCheckout is the merchant's switch (Settings > Customer privacy > Cookie banner); required is whether the banner shows where the buyer is, by the same rule as the storefront (EU / EEA / UK and an unknown country always; with automated settings off, also the countries and regions of the store's consent rules). Show the banner when both are true. The title, message, position and colours are the merchant's banner settings.

returnWindowDaysInt

Settings > Policies > return rules: how many days after delivery the buyer in countryCode can return items (the rule for their market, else the store's default rule). Null when return rules are off, returns are not accepted, or the rule sets no window.

Example request

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

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

curl
curl -X POST "https://$STORE_HOST/api/v1/stores/$STORE_ID/2026-10/graphql" \
  -H "X-Tanqory-Storefront-Access-Token: $TANQORY_STOREFRONT_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtCheckoutConfiguration {\n  tanqoryExtCheckoutConfiguration {\n    id\n    branding\n    policies { id }\n    accountsMenuHandle\n    contactMethod\n    nameMode\n    requireSignIn\n    showSignInLinks\n    newOrderRefusal\n    returnWindowDays\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10