Reference · Categories
Update a category tag
PATCH
/v1/sites/{siteId}/category-tags/{code}Changes a category tag. 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
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 tag.
boolean
coderequiredThe tag's code.
string
namerequiredThe tag's name.
string
updatedAtWhen it last changed.
string · date-time