Partially updates a service category with a merge-patch body (RFC 7396); application/json is accepted with the same semantics. A missing field is left unchanged, so {} changes nothing; null on name or weight fails with 422 field_not_nullable. The name rules of createServiceCategory apply.
A category managed by its chain fails with 422 field_immutable at /name on a name change; its weight is a setting of this Location and can be changed. Sending the stored value passes. A category of another Location, a deleted category, a service id, a chain category not linked to this Location, or a missing id fails with the same 404 resource_not_found. Another media type fails with 415 unsupported_media_type, broken JSON or a body that is not an object with 400 malformed_request.
Name of the category. Leading and trailing spaces are trimmed. A link (a URL or any word.word without a space), an empty name and characters outside the Basic Multilingual Plane (emoji) fail with 422. Immutable for a category managed by its chain.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/service_categories/{service_category_id}
- Preview resource API contract - endpoint surface is not live yethttps://api.alteg.io/api/v3/locations/{location_id}/service_categories/{service_category_id}
curl -i -X PATCH \
'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/service_categories/{service_category_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"name": "Cuts & styling"
}'The updated service category.
Requests left in the most constrained policy window that applies to this request.
On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.
Most constrained policy applied to the request, as <limit>;w=<window in seconds>.
Id of the chain that manages the category; null for a category of this Location alone. A chain category is not accepted by createService or updateService.
{ "id": 205, "object": "service_category", "name": "Cuts & styling", "chain_id": null, "weight": 10 }