TanqoryDocs

tanqoryExtShopPolicyVersions

  • Query
  • Content and shop

Past texts of the store's written policies, newest first, from the last 2 years (at most 500). types limits the list to those policies.

Arguments

ArgumentTypeRequiredDefault
types[ShopPolicyType!]Optional

Returns

[TanqoryExtShopPolicyVersion!]! A text a written policy had: one per change saved, newest first.

FieldTypeDescription
bodyString!

The policy text (HTML) as it was saved.

createdAtDateTime!

When this text was saved.

idID!
savedByString

Who saved it: the staff member's name or email; null when an app saved it.

titleString!

The policy's title (e.g. Privacy policy).

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 TanqoryExtShopPolicyVersions {\n  tanqoryExtShopPolicyVersions {\n    body\n    createdAt\n    id\n    savedBy\n    title\n    type\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10