For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
  • Overview
    • Quick Start
    • Sandboxes
    • Tools & SDKs
    • Support
  • Docs
      • Getting Started
          • Tax settings
          • Tax rates and zones
          • Tax properties
          • Tax customers
    • Archive
    • Closed Beta Programs
Dev Portal
LogoLogo
On this page
  • Tax customers
  • Get tax customers
  • Update tax customers
  • Delete tax customers
  • Batch deletion
  • Resources
DocsAdminStore ConfigurationTax

Tax Customers

Was this page helpful?
Previous

Tax Properties

Next

Shipping

Built with

The Tax Customers API allows merchants to configure customer-specific tax data for use in tax calculations. This enables merchants to provide tax providers with additional customer-related information that may affect tax rates or exemptions.

This guide demonstrates how to use the Tax Customers API. For more, see the Tax Customers API Reference.

Tax customers

Tax customers rely on customer_id to associate tax data with specific customers. This data is sent to tax providers during tax calculations. The examples below demonstrate how to create, update, retrieve, and delete tax customer data.

Get tax customers

To retrieve a list of tax customers, send a request to the Get Tax Customers endpoint. You can filter the results by specifying one or more customer_id values.

Request
Response
Example request: Get tax customers
1GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/tax/customers?customer_id:in=157,158
2X-Auth-Token: {{ACCESS_TOKEN}}
3Content-Type: application/json
4Accept: application/json

Update tax customers

To add or update tax data for one or more customers, send a request to the Update Tax Customers endpoint. This operation overwrites any existing values for the specified customers.

Request
Response
Example request: Update tax customers
1PUT https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/tax/customers
2X-Auth-Token: {{ACCESS_TOKEN}}
3Content-Type: application/json
4Accept: application/json
5
6[
7 {
8 "customer_id": 157,
9 "tax_properties": {
10 "A-123456789": "30",
11 "B-6731789": "250"
12 }
13 },
14 {
15 "customer_id": 159,
16 "tax_properties": {
17 "A-123456789": "10"
18 }
19 }
20]

Delete tax customers

To delete tax data associated with one or more customers, send a request to the Delete Tax Customers endpoint. Use the customer_id:in query parameter to specify the customers whose tax data you want to delete.

Batch deletion

This operation removes all tax properties associated with the specified customers.

Request
Response
Example request: Delete tax customers
1DELETE https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/tax/customers?customer_id:in=157
2X-Auth-Token: {{ACCESS_TOKEN}}
3Content-Type: application/json
4Accept: application/json

Resources

  • Tax Customers API Reference
  • Tax Properties API Reference
  • Tax Provider API Reference