User authentication and session management for B2B integrations
- Update a Schedule
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Type of entity the schedule will be based on:record - individual appointment, currently not supported;activity - group event.
Add clients from original entity to all scheduled events.
Each object represents schedule series settings for a specific day of the week. A minimum of 1 and a maximum of 7 schedule series can be defined (one for each day of the week).
The day of the week for the schedule series.
The ID of the team member assigned to the events in the schedule series.
Start time of the events in the schedule series, formatted as HH:MM:SS.
Duration of each event in the schedule series, in seconds.
The capacity of activities in the schedule series. For appointments, this should be set to 1.
An array of tag IDs associated with the events in the schedule series.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/schedules
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/schedules
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules?include=days' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"original_entity_type": "activity",
"original_entity_id": 123,
"date_end": "2022-02-01",
"add_clients_from_original_entity": false,
"days": [
{
"day_of_week": "mon",
"events_master_id": 123,
"events_time": "14:00:00",
"events_duration": 3600,
"events_capacity": 4,
"labels_ids": [
123
],
"resource_instances_ids": [
123
]
}
]
}'{ "success": true, "data": { "id": 123, "created_at": "2026-01-01T12:12:12-05:00", "updated_at": "2026-01-01T12:12:12-05:00", "deleted_at": null, "original_entity_type": "activity", "original_entity_id": 123, "date_start": "2026-01-01", "date_end": "2026-02-01", "days": [ … ] }, "meta": {} }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/schedules/{schedule_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/schedules/{schedule_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"date_end": "2022-02-01"
}'{ "success": true, "data": { "id": 123, "created_at": "2026-01-01T12:12:12-05:00", "updated_at": "2026-01-01T12:12:12-05:00", "deleted_at": null, "original_entity_type": "activity", "original_entity_id": 123, "date_start": "2026-01-01", "date_end": "2026-02-01", "days": [ … ] }, "meta": {} }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/schedules/{schedule_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/schedules/{schedule_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json'{ "success": true, "data": null, "meta": {} }