Update Support Ticket Category
PATCH/api/support/tickets/:ticket/category
Corrects what a ticket is about. Tickets are categorised automatically when they are triaged (source: ai); anyone on the account who can read the ticket may correct that, and the correction is recorded as source: customer. A later automatic pass never overwrites a person's choice.
support:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Once SKU.io Support has set the category (locked: true) it can no longer be changed here — the request is refused with 409; reply on the ticket instead. A correction keeps the suspected_defect flag as it was. Every change is added to the ticket's timeline as a category_changed event (see List Support Ticket Events); sending the values the ticket already has changes nothing.
Request body
feature_key(string, required) — akeyfrom the categories list: a SKU.io feature,platform.other(about SKU.io, but no listed feature fits) ornone(not product-related)cause(string, required) — one of: how_to, configuration, defect, third_party, request, billing, data_process, other
The response is the updated ticket (the same shape as Get Support Ticket).
category — what the ticket is about and why it was raised:
feature_key(string, nullable) — akeyfrom the categories list (a SKU.io feature,platform.otherornone); null while uncategorised.feature_labelis its display namearea/area_label(string, nullable) — the product area of that feature (null fornoneor while uncategorised)cause(string, nullable) — one of: how_to, configuration, defect, third_party, request, billing, data_process, other.cause_labelis its display namesource(string, nullable) — who set it:ai(suggested automatically when the ticket was triaged),customer(someone on the account) oragent(SKU.io Support);source_labelis the same in customer wordingsuspected_defect(boolean) — an automatic check suspected a bug that nobody has confirmed yet. It is never counted as a defect; only SKU.io Support (or an engineering link) makes a ticket a defectlocked(boolean) — true once SKU.io Support set the category; the customer can no longer change itset_at(ISO-8601, nullable) — when it was last set
A ticket belonging to another tenant returns 404. A requester-only ticket you did not raise and were not added to returns 403.
Authentication: Bearer token with the support:write scope, or an authenticated session, from a user who can view the ticket. Customer endpoints run in tenant context — send the X-Tenant-Id header or call from a tenant subdomain.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
- 429
OK
Response Headers
Unauthorized
Response Headers
Forbidden
Response Headers
Not Found
Response Headers
Conflict
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.