Update Tax

Update an existing tax configuration.

Endpoint

PUT /api/taxes/{tax_id}

Path Parameters

ParameterTypeRequiredDescription
tax_idstringYesThe unique identifier for the tax

Request Body

ParameterTypeRequiredDescription
namestringNoTax name
ratenumberNoTax rate (as percentage)
countrystringNoCountry code
regionstringNoState/region

Response

Returns the updated tax object.
{
  "id": "tax_123456789",
  "name": "Updated VAT 21%",
  "rate": 21.0,
  "type": "VAT",
  "country": "GB",
  "region": null,
  "created_at": "2023-01-01T00:00:00Z"
}