cURL
curl --request PUT \ --url https://api.decodahealth.com/admin/taxes/{tax_id} \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' { "name": "<string>", "percentage": 50 } '
{ "id": "<string>", "name": "<string>", "percentage": 123, "location_id": "<string>" }
Update an existing tax.
The tenant you are making this request on behalf of
Your api key
Schema for updating an existing tax.
Name of the tax
Tax percentage (e.g., 8.25 for 8.25%)
0 <= x <= 100
Successful Response
Detailed tax information.
Unique identifier for the tax
Name of the tax (e.g., 'Sales Tax', 'VAT')
Location this tax applies to