tanqoryExtCheckoutSettings
- Query
- Orders and payments
The store's checkout behaviour settings (defaults while nothing was saved).
Arguments
None.
Returns
| Field | Type | Description |
|---|---|---|
addToCartLimit | Int! | Maximum quantity of one item a customer can add to the cart. |
addToCartLimitEnabled | Boolean! | |
addToCartLimitRecommended | Int! | |
addressLine2 | TanqoryExtCheckoutFieldRule! | |
billingAddressMode | TanqoryExtCheckoutBillingAddressMode! | |
companyName | TanqoryExtCheckoutFieldRule! | |
contactMethod | TanqoryExtCheckoutContactMethod! | |
emailOptIn | TanqoryExtCheckoutOptInPlacement! | |
emailOptInText | String! | Checkbox text per channel; the default text while the merchant set none. |
fullName | TanqoryExtCheckoutFullName! | |
marketingPreselectCountryCodes | [String!]! | Countries where the checkbox is ticked by default. Set by Tanqory, not by the merchant. |
orderTrackingLink | Boolean! | A link to track the order in an app, shown on the order status page. |
recoveryLinkLifetimeDays | Int! | Days an abandoned checkout's recovery link keeps reopening the checkout, counted from when the buyer was first reachable or the link was last mailed (1 to 90, default 30). After it the buyer can ask for a new link. |
requireSignIn | Boolean! | Customers must sign in first; only email can be used then (Shop.customerAccounts is REQUIRED). |
shippingAsBillingByDefault | Boolean! | The shipping address is the billing address until the customer changes it. |
shippingPhone | TanqoryExtCheckoutFieldRule! | |
smsOptIn | TanqoryExtCheckoutOptInPlacement! | |
smsOptInText | String! | |
tippingEnabled | Boolean! | |
validateShippingAddress | Boolean! | |
whatsappOptIn | TanqoryExtCheckoutOptInPlacement! | |
whatsappOptInText | String! |
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 -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 TanqoryExtCheckoutSettings {\n tanqoryExtCheckoutSettings {\n addToCartLimit\n addToCartLimitEnabled\n addToCartLimitRecommended\n addressLine2\n billingAddressMode\n companyName\n contactMethod\n emailOptIn\n emailOptInText\n fullName\n }\n}","variables":{}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtCheckoutSettings {
tanqoryExtCheckoutSettings {
addToCartLimit
addToCartLimitEnabled
addToCartLimitRecommended
addressLine2
billingAddressMode
companyName
contactMethod
emailOptIn
emailOptInText
fullName
}
}`;
const variables = {};
const res = await fetch(`https://api.tanqory.com/admin/2026-10/stores/${process.env.STORE_ID}/graphql`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.TANQORY_ACCESS_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 TanqoryExtCheckoutSettings {
tanqoryExtCheckoutSettings {
addToCartLimit
addToCartLimitEnabled
addToCartLimitRecommended
addressLine2
billingAddressMode
companyName
contactMethod
emailOptIn
emailOptInText
fullName
}
}"""
variables = json.loads("""{}""")
req = urllib.request.Request(
"https://api.tanqory.com/admin/2026-10/stores/" + os.environ["STORE_ID"] + "/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"Authorization": "Bearer " + os.environ["TANQORY_ACCESS_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))