User authentication and session management for B2B integrations
- Delete Recurring Appointments
Get list of appointments
Create a New Appointment
Get an Appointment
Edit Appointment
Delete Appointment
Get a List of Partner Appointments
Get a visit
Get Visit Details
Edit Visit
Receipt PDF for the visit
Get comments
Leave a Comment
Create Recurring Appointments
Update Recurring Appointments
Delete Recurring Appointm...
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.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi
Production
https://api.alteg.io/api/v1
Request
Updates a recurring appointment series by attaching or detaching schedule days. This creates or removes future appointments accordingly.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/schedules/{schedule_id}/client_schedules/{client_schedule_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/schedules/{schedule_id}/client_schedules/{client_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/client_schedules/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"schedule_days_ids": [
123
]
}'Response
application/json
{ "success": true, "data": { "id": 123, "loyalty_abonement_id": null, "final_day": "2022-01-01 12:12:12", "days": [ … ] }, "meta": {} }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/schedules/{schedule_id}/client_schedules/{client_schedule_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/schedules/{schedule_id}/client_schedules/{client_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/client_schedules/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json'Response
application/json
{ "success": true, "data": null, "meta": {} }