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.
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 |