Reference · Taxes
Update a tax group
PATCH
/v1/sites/{siteId}/tax-groups/{code}Changes a tax group. Only the fields sent change. Nothing is deleted: retire it with active false.
Needs Catalogue: writeChanges live data
Path
siteIdrequiredThe site, from GET /v1/sites.
string
coderequiredThe record's code.
string
Headers
AuthorizationrequiredAn API key from Automation > Access in the Dnero portal, sent as
Authorization: Bearer <key>.string
Body
activeFalse to retire it, true to bring it back.
boolean
nameA new name.
string · 1–200 characters
taxCodesReplaces its taxes, by code.
array of string
Responses
- bad_requestinvalid_cursoridempotency_key_required
- missing_keyinvalid_keykey_expired+1 more
- key_revokedassistant_keykey_without_access+7 more
- site_not_foundnot_found
- idempotency_key_reusedrequest_in_progress
- invalid_requestnot_a_modifier_group
- rate_limited
- server_error
- upstream_unavailable
200 OK
activerequiredFalse for a retired tax group.
boolean
coderequiredThe tax group's code.
string
namerequiredThe tax group's name.
string
taxCodesrequiredThe taxes in the group, by code.
array of string
updatedAtWhen the tax group last changed.
string · date-time