Accounttax: update

Updates the tax settings of the account. Try it now.


HTTP request



Parameter name Value Description
Path parameters
accountId unsigned long The ID of the account for which to get/update account tax settings.
merchantId unsigned long The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.


This request requires authorization with the following scope:


Request body

In the request body, supply an Accounttax resource with the following properties:

Property name Value Description Notes
Required Properties
accountId unsigned long The ID of the account to which these account tax settings belong.
rules[].locationId unsigned long State (or province) is which the tax is applicable, described by its location ID (also called criteria ID). writable
Optional Properties
rules[] list Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all. writable
rules[].country string Country code in which tax is applicable. writable
rules[].ratePercent string Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative. writable
rules[].shippingTaxed boolean If true, shipping charges are also taxed. writable
rules[].useGlobalRate boolean Whether the tax rate is taken from a global tax table or specified explicitly. writable


If successful, this method returns an Accounttax resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.