TanqoryDocs

tanqoryExtB2bSettings

  • Query
  • Customers and B2B

The store-wide B2B settings: the terms a new company location starts with, and how many days before a tax exemption certificate expires the staff are told. A store that never saved them has the defaults (no payment terms, no deposit, orders are not submitted as drafts, buyers cannot change the shipping address, 30 days).

Arguments

None.

Returns

TanqoryExtB2bSettings! The store-wide B2B settings.

FieldTypeDescription
defaultCheckoutToDraftBoolean!

A new company location's orders are submitted as drafts for review.

defaultDepositPercentageInt

The share of the order (1 to 100) a new company location pays up front, or null for no deposit.

defaultEditableShippingAddressBoolean!

A new company location's buyers may ship to any address.

defaultPaymentTermsTemplatePaymentTermsTemplate

The payment terms a new company location starts with, or null for none.

defaultsEnabledBoolean!

Whether the store-wide defaults apply (staff switch b2b_store_defaults).

taxExemptionExpiryEnabledBoolean!

Whether certificate expiry dates and the reminder are on (staff switch b2b_exemption_dates).

taxExemptionReminderDaysInt!

How many days (1 to 365) before a tax exemption certificate expires the staff are told, by the staff notification "Tax exemption expiring" (Settings > Notifications).

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 TanqoryExtB2bSettings {\n  tanqoryExtB2bSettings {\n    defaultCheckoutToDraft\n    defaultDepositPercentage\n    defaultEditableShippingAddress\n    defaultPaymentTermsTemplate { id }\n    defaultsEnabled\n    taxExemptionExpiryEnabled\n    taxExemptionReminderDays\n  }\n}","variables":{}}'

Built from commit 0cac88ece6de · API version 2026-10