Accounting API
Taxes
Update Shipping Tax
This API endpoint (POST) updates an existing tax rate. If the request succeeds, it returns a Tax Object.
Permissions: taxes.edit
Webhook event: tax.updated
id * The id of the tax to update.
label string * The label of the tax rate.
applies_to string * The possible values are all_shippings and selected_shippings.
rate decimal * The tax rate percentage. Not required if amount is provided.
amount decimal * The fixed tax amount. Not required if rate is provided.
active boolean This attribute shows whether the tax rate is currently enabled. The default value is false.
shippings array of strings The shipping IDs that you like this tax rate to apply to. Required if condition is set to selected_shippings.