TanqoryDocs

tanqoryExtAutomatedPolicies

  • Query
  • Content and shop

Every written policy except the privacy policy: whether it is automated, and its automated text now.

Arguments

None.

Returns

[TanqoryExtAutomatedPolicy!]! A written policy's switch and the automated text the store would serve for it now.

FieldTypeDescription
automatedBoolean!

True while the store serves the automated text.

bodyString!

The automated text (HTML), built from the store's current data, whether or not the switch is on.

typeShopPolicyType!

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 TanqoryExtAutomatedPolicies {\n  tanqoryExtAutomatedPolicies {\n    automated\n    body\n    type\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10