/
Set team member schedules
Sets work schedules for team members by date.
Supports both setting new schedules and deleting existing ones in a single request.
Returns the resulting schedules for affected team members within the date range from minimum to maximum modified date.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/team_members/schedule
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/team_members/schedule
curl -i -X PUT \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/720441/team_members/schedule \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"schedules_to_set": [
{
"staff_id": 12345,
"dates": [
"2026-01-31",
"2026-02-01"
],
"slots": [
{
"from": "10:00",
"to": "14:00"
},
{
"from": "15:00",
"to": "19:00"
}
]
}
],
"schedules_to_delete": [
{
"staff_id": 12345,
"dates": [
"2026-02-02"
]
}
]
}'Response
{ "success": true, "data": [ { … } ], "meta": { "count": 2 } }