---
title: "PUT /{merchantId}/accounttax/{accountId}"
method: PUT
path: "/{merchantId}/accounttax/{accountId}"
tags: ["accounttax"]
---

# PUT /{merchantId}/accounttax/{accountId}

`PUT /{merchantId}/accounttax/{accountId}`

Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.

## Path parameters

- `merchantId` string, required
- `accountId` string, required

## Request body

- AccountTax — The tax settings of a merchant account. All methods require the admin role.
  - `accountId` string, uint64 — Required. The ID of the account to which these account tax settings belong.
  - `rules` AccountTaxTaxRule[] — Tax rules. Updating the tax rules will enable "US" taxes (not reversible). Defining no rules is equivalent to not charging tax at all.
    - `ratePercent` string — Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.
    - `country` string — Country code in which tax is applicable.
    - `locationId` string, uint64 — Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).
    - `shippingTaxed` boolean — If true, shipping charges are also taxed.
    - `useGlobalRate` boolean — Whether the tax rate is taken from a global tax table or specified explicitly.
  - `kind` string — Identifies what kind of resource this is. Value: the fixed string "`content#accountTax`".

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/versions/1033388fc86f/schema)
