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
| Argument | Type | Required | Default |
|---|---|---|---|
countryCode | CountryCode | Optional | |
cartId | ID | Optional |
Returns
TanqoryExtCheckoutConfiguration!
| Field | Type | Description |
|---|---|---|
id | ID | The published CheckoutAndAccountsConfiguration (admin API id), or null when the store has none yet. |
branding | JSON | The published configuration's branding, in the shape of the admin type CheckoutAndAccountsConfigurationBranding (designTokens, components, surfaces; images resolved to |
fields | TanqoryExtCheckoutFieldSettings! | 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. |
accountsMenuHandle | String | 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 ( |
contactMethod | TanqoryExtCheckoutContactMethod! | Settings > Checkout > Customer contact method. EMAIL whenever sign-in is required. |
nameMode | TanqoryExtCheckoutNameMode! | Settings > Checkout > Customer information > Full name. |
requireSignIn | Boolean! | Settings > Checkout > Require customers to sign in to their account before checkout. |
showSignInLinks | Boolean! | Show sign-in links (Settings > Customer accounts is not turned off). |
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.
|
tipping | TanqoryExtCheckoutTipping! | Settings > Checkout > Tipping. |
newOrderRefusal | TanqoryExtNewOrderRefusal | Why the store cannot take a new order now (shown before the buyer fills anything in); null when it can. |
moneyFormat | TanqoryExtCheckoutMoneyFormat! | Settings > General > Currency formatting, for amounts in the store's currency. |
cookieBanner | TanqoryExtCheckoutCookieBanner! | The checkout cookie banner for a buyer in
|
returnWindowDays | Int | Settings > Policies > return rules: how many days after delivery the buyer in
|
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 -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":{}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtCheckoutConfiguration {
tanqoryExtCheckoutConfiguration {
id
branding
policies { id }
accountsMenuHandle
contactMethod
nameMode
requireSignIn
showSignInLinks
newOrderRefusal
returnWindowDays
}
}`;
const variables = {};
const res = await fetch(`https://${process.env.STORE_HOST}/api/v1/stores/${process.env.STORE_ID}/2026-10/graphql`, {
method: 'POST',
headers: {
'X-Tanqory-Storefront-Access-Token': process.env.TANQORY_STOREFRONT_TOKEN,
'Content-Type': 'application/json',
},
body: JSON.stringify({ query, variables }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));# Python 3, standard library only. Save as request.py and run: python3 request.py
import json, os, urllib.request
query = """query TanqoryExtCheckoutConfiguration {
tanqoryExtCheckoutConfiguration {
id
branding
policies { id }
accountsMenuHandle
contactMethod
nameMode
requireSignIn
showSignInLinks
newOrderRefusal
returnWindowDays
}
}"""
variables = json.loads("""{}""")
req = urllib.request.Request(
"https://" + os.environ["STORE_HOST"] + "/api/v1/stores/" + os.environ["STORE_ID"] + "/2026-10/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"X-Tanqory-Storefront-Access-Token": os.environ["TANQORY_STOREFRONT_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))