update_tax_rate
Update a tax rate in WooCommerce by ID. Change specific fields like rate, country, state, postcode, city, priority, or shipping without affecting others.
Instructions
Update a tax rate. Only include fields you want to change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_tax_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Tax rate ID | |
| city | No | City name | |
| name | No | Tax rate name | |
| rate | No | Tax rate percentage | |
| class | No | Tax class slug | |
| state | No | State code | |
| fields | No | Comma-separated fields to return in response | |
| country | No | Country ISO 3166 code | |
| compound | No | Whether this is a compound rate | |
| postcode | No | Postcode or range | |
| priority | No | Tax rate priority | |
| shipping | No | Whether rate applies to shipping |