TanqoryDocs

paymentTermsTemplates

  • Query
  • Orders and payments

Lists the payment terms templates the store can apply to orders, optionally only those of one paymentTermsType.

Arguments

ArgumentTypeRequiredDefault
paymentTermsTypePaymentTermsTypeOptional

Returns

[PaymentTermsTemplate!]! A ready-made set of payment terms, such as due on receipt or net 30, with its type and number of days until due.

FieldTypeDescription
descriptionString!
dueInDaysInt
idID!
nameString!
paymentTermsTypePaymentTermsType!
translatedNameString!

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 PaymentTermsTemplates {\n  paymentTermsTemplates {\n    description\n    dueInDays\n    id\n    name\n    paymentTermsType\n    translatedName\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10