Accounttax: update

Requires authorization

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

Request

HTTP request

PUT https://www.googleapis.com/content/v2/merchantId/accounttax/accountId

Parameters

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.
Optional query parameters
dryRun boolean Flag to run the request in dry-run mode.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

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

Response

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.

Send feedback about...

Content API for Shopping