TanqoryDocs

tanqoryExtB2bSettingsUpdate

  • Mutation
  • Customers and B2B

Changes the store-wide B2B settings. An omitted field keeps its value. The defaults apply to company locations created afterwards whose create gives no buyerExperienceConfiguration value of its own (field by field); existing locations keep their terms. Refused with INVALID while the staff switch b2b_store_defaults is off (the defaults) or b2b_exemption_dates is off (the reminder days).

Arguments

ArgumentTypeRequiredDefault
inputTanqoryExtB2bSettingsInput!Required

Returns

TanqoryExtB2bSettingsUpdatePayload

FieldTypeDescription
b2bSettingsTanqoryExtB2bSettings
userErrors[BusinessCustomerUserError!]!

INVALID_INPUT at the field for a value out of range, RESOURCE_NOT_FOUND for an unknown template, INVALID while a switch is off.

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":"mutation TanqoryExtB2bSettingsUpdate($input: TanqoryExtB2bSettingsInput!) {\n  tanqoryExtB2bSettingsUpdate(input: $input) {\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"input":{}}}'

Built from commit 0cac88ece6de · API version 2026-10