Skip to content

Update a team member

Request

Partially updates the Team Member card with a merge-patch body (RFC 7396); application/json is accepted with the same semantics: name, specialization, position, online booking and the Work Schedule. A missing field is left unchanged, so {} changes nothing, and a value equal to the stored one is not a change. null clears position_id; null on any other field fails with 422 field_not_nullable. Service links are written through updateTeamMemberServices and dismissal through dismissTeamMember; neither is a field of the card.

  • Work Schedule. is_schedulable: true adds the Team Member to the Work Schedule and takes a seat in the license of the Location; with no free seat it fails with 409 conflict. Earlier service links, position and schedule are not restored, and online_booking_enabled stays false until it is switched on. false removes the Team Member from the Work Schedule: Altegio deletes the service links, the position and the schedule from tomorrow on, switches online booking off and frees the seat unless the linked user keeps paid permissions. The response already shows the result (position_id: null, online_booking_enabled: false). In a Location where every Team Member is in the Work Schedule, false fails with 422 on is_schedulable.
  • Position and online booking. They are checked against the resulting is_schedulable, so one request may send is_schedulable: true together with position_id and online_booking_enabled: true. A position_id that is not listed by listPositions, a position that is assigned only in the chain settings, or a non-null position_id while the result is is_schedulable: false, fails with 422 on position_id. online_booking_enabled: true fails with 422 on online_booking_enabled while the result is is_schedulable: false or the Team Member is dismissed.
  • Services of the position. A position can carry its own services, so changing position_id also changes the service links of the Team Member. Assigning a position adds service links to its services with the prices set for the position; when the position allows only its own services, the other service links of the Team Member are deleted. null removes the position and keeps the service links.
  • Chain Team Members. name, specialization and position_id of a Team Member managed by the chain fail with 422 field_immutable and an errors[] item per field; is_schedulable and online_booking_enabled can be changed.
  • Altegio team. specialization of a member of the Altegio team is set by Altegio and fails with 422 field_immutable.
Security
OAuth2(Required scopes: team_members:write) or ApiKey
Path
location_idintegerrequired

Identifier of the Location. Verified against the credential on every call — a Location the credential cannot access responds with 404.

team_member_idintegerrequired

Identifier of the Team Member.

Bodyrequired
namestring, [ 1 .. 255 ] characters

Display name, 1 to 255 characters after trimming. A link (a URL or any word.word without a space, such as Dr.Lash) fails with 422, because Altegio would cut it out of the name; so do a name of 0 alone and characters outside the Basic Multilingual Plane (emoji).

specializationstring, [ 1 .. 255 ] characters

Public profession label shown to clients (for example in online booking), 1 to 255 characters after trimming. A link (a URL or any word.word without a space) fails with 422 unless links in the specialization are switched on for the Location; so do 0 alone and characters outside the Basic Multilingual Plane (emoji).

is_schedulableboolean

Adds the Team Member to the Work Schedule (true) or removes them from it (false). true takes a seat in the license of the Location and fails with 409 conflict when there is no free seat. false deletes the service links, the position and the schedule from tomorrow on and switches online booking off.

position_idinteger or null

Position listed by listPositions; null removes the position. A non-null value is accepted only while the resulting is_schedulable is true.

online_booking_enabledboolean

The business's online booking setting for this team member. true is accepted only while the resulting is_schedulable is true and the Team Member is not dismissed.

curl -i -X PATCH \
  'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/team_members/{team_member_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/merge-patch+json' \
  -d '{
    "position_id": 16
  }'

Responses

The updated team member.

Headers
RateLimit-Remaininginteger, (int32), >= 0

Requests left in the most constrained policy window that applies to this request.

RateLimit-Resetinteger, (int32), >= 0

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.

RateLimit-Policystring

Most constrained policy applied to the request, as <limit>;w=<window in seconds>.

Example:"10;w=60"
X-Request-Idstring

Request identifier for support and log correlation.

Bodyapplication/json
idintegerread-onlyrequired
objectstringread-onlyrequired
Value:"team_member"
namestringrequired

Display name, HTML entities decoded.

specializationstringrequired

Public profession label shown to clients (for example in online booking), HTML entities decoded.

avatar_urlstring or null, (uri)read-onlyrequired

Photo of the team member, up to 220×220 px (smaller when the uploaded photo is smaller); null when no photo is set.

position_idinteger or nullrequired

Position from listPositions; null when the member has no position or the position is not listed by listPositions.

online_booking_enabledbooleanrequired

The business's online booking setting for this team member in the Location. It does not mean that free time is available; free slots come from the availability operations.

is_schedulablebooleanrequired

Whether the Team Member is in the Work Schedule of the Location, so a schedule, services, a position and online booking can be set for them. It does not mean that shifts are already set. A Team Member in the Work Schedule takes a seat in the license of the Location unless they are dismissed. Always true in a Location where every Team Member is in the Work Schedule.

dismissal_datestring or null, (date)read-onlyrequired

Last working day set by dismissTeamMember, YYYY-MM-DD in the Location timezone; null while employed.

created_atstring or null, (date-time)read-onlyrequired

UTC; null for legacy records without a creation date.

Response
{ "id": 321, "object": "team_member", "name": "Aigerim Bekova", "specialization": "Hairdresser", "avatar_url": "https://assets.alteg.io/masters/norm/4/48/48c3c5a1b0e1e8d_20260601093015.png", "position_id": 15, "online_booking_enabled": true, "is_schedulable": true, "dismissal_date": null, "created_at": "2026-06-01T08:00:00Z" }