Admin Settings: Tax Categories
Update a tax category
Code uniqueness excludes the current id. Re-syncs the tax_rates pivot to the supplied taxrates list.
put/settings/tax-categories/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Settings tax category ID
Request body
Example request
{
"code": "reduced-rate",
"name": "Reduced Rate",
"description": "Reduced VAT for essentials",
"taxrates": [
1
]
}Response
Tax category updated.
Example response
{
"taxRates": [
"https://example.com/"
]
}Changes
No recorded changes to this operation across all 8 revisions of this API.