Update Tax
id * The id of the tax to update.
label string * The label of the tax rate.
applies_to string * The possible values are all_products and selected_products.
rate decimal * The tax rate percentage. Not required if amount is provided.
amount decimal * The fixed tax amount. Not required if rate is provided.
country string Country code The country where this tax rate applies to.
postcodes array of strings An array of postcodes to use for filtering. When customers attempt to make an order, the tax rate will apply if their postcode matches (full or partial) any of the values in the array.
states array of strings An array of states to use for filtering. When customers attempt to make an order, the tax rate will apply if their state matches any of the values in the array. States are supported by a limited number of countries which you can see here.
active boolean This attribute shows whether the tax rate is currently enabled. The default value is false.
payments array of strings payment codes The payment whitelist for the tax rate. When customers attempt to make an order, the tax rate will apply if their selected payment method matches any of the values in the array.
products array of strings The product IDs that you like this tax rate to apply to. Required if condition is set to selected_products.