TanqoryDocs

tanqoryExtPolicyDrafting

  • Query
  • Content and shop

The drafting helps Settings > Policies offers here (console > Feature flags).

Arguments

None.

Returns

TanqoryExtPolicyDrafting! Which drafting helps a written policy's editor offers.

FieldTypeDescription
aiDraftsBoolean!

Write a draft with AI (switch policy_ai_drafts; the draft is to be reviewed and is not legal advice).

templatesBoolean!

Start from template: the store's automated text for the policy (switch policy_templates).

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 TanqoryExtPolicyDrafting {\n  tanqoryExtPolicyDrafting {\n    aiDrafts\n    templates\n  }\n}","variables":{}}'

Built from commit 0cac88ece6de · API version 2026-10