Skip to main content
PATCH
Update a tax code

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Headers

Idempotency-Key
string

Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.

Maximum string length: 255

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
description
string | null
taxable
boolean
category
string | null
avatax_tax_code
string | null
is_active
boolean
metadata
object

Response

Updated tax code

A tax classification code for products (e.g. AvaTax P0000000 generic tangible, ND040000 non-taxable digital, etc.). When AvaTax is the active jurisdiction provider, avatax_tax_code mirrors the canonical AvaTax tax code so jurisdiction sourcing flows through. Soft-delete refuses with HTTP 409 if any product still references the code (FK guard against orphaned product tax classification). Scope: tax_codes:read / tax_codes:write / tax_codes:delete.

id
string<uuid>
read-only
object
string
Example:

"tax_code"

entity_id
string<uuid>
read-only
code
string

Operator-defined code unique per entity. 1..50 chars.

name
string

Human-readable label. 1..150 chars.

description
string | null
taxable
boolean
default:true

If false, products with this code are exempt from sales tax.

category
string | null

Optional grouping label (e.g. 'general', 'food', 'digital').

avatax_tax_code
string | null

Mirrors the AvaTax tax code when AvaTax is the active provider.

is_active
boolean
default:true
external_source
string | null
external_id
string | null
metadata
object

Free-form caller metadata. Default {}.

deleted_at
string<date-time> | null
read-only
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only