TanqoryDocs

tanqoryExtShippingDocumentTemplate

  • Query
  • Inventory and fulfillment

One shipping document template. Null when it does not exist in this store.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtShippingDocumentTemplate

FieldTypeDescription
bodyString!

The Liquid template of the document.

defaultBodyString

The shipped template of its kind, which "Revert to default" puts back; null for a Blank template.

defaultPickListSettingsTanqoryExtPickListSettings

The settings a pick list starts with, which "Revert to default" puts back; null on the other kinds.

idID!
isDefaultBoolean!

The default template of its kind (printed when nothing else is chosen).

kindTanqoryExtShippingDocumentKind!
modifiedAtDateTime

When the template was last changed; null while it is the unchanged built-in template.

nameString!
pickListSettingsTanqoryExtPickListSettings

A pick list's settings: a pick list is built from them, not from its code (body is not printed). Null on the other kinds; on a pick list that never had settings saved, the defaults.

preselectBoolean!

Preselected when printing several documents at once.

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 TanqoryExtShippingDocumentTemplate($id: ID!) {\n  tanqoryExtShippingDocumentTemplate(id: $id) {\n    body\n    defaultBody\n    id\n    isDefault\n    kind\n    modifiedAt\n    name\n    preselect\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10