User authentication and session management for B2B integrations
- Get a list of services
Create a service category
Create a service
Update a service
Update a service (partial)
Delete a service
Get service category
Change service category
Delete service category
Get a list of service categories
Get a list of services / specific service
Linking a Team Member to a Provided Service
Updating Team Member Service Link Settings
Deleting a Team Member Service Link
Update service links
Get a list of chain service categories
Deprecated. Get a list of service categories
Deprecated. Get a list of services / specific service
Get a list of services
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/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/service_categories/{location_id}
- Productionhttps://api.alteg.io/api/v1/service_categories/{location_id}
- 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/service_categories/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Haircut very feminine",
"api_id": "adw322",
"weight": 111,
"staff": [
5006,
8901
]
}'Response
application/json
{ "success": true, "data": { "id": 3, "title": "Haircut very feminine", "api_id": "adw322", "weight": 111, "staff": [ … ] }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/services/{location_id}
- Productionhttps://api.alteg.io/api/v1/services/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/services/{location_id}?staff_id=0&category_id=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "meta": [] }
Bodyapplication/jsonrequired
Technical break duration in seconds.
- If not provided, defaults to null
- null = use location default (Settings → Appointment Log → Technical Breaks)
- Must be in multiples of 300 (5-minute intervals)
- Maximum value is 3600 (1 hour)
One of:
Technical break duration in seconds.
- If not provided, defaults to null
- null = use location default (Settings → Appointment Log → Technical Breaks)
- Must be in multiples of 300 (5-minute intervals)
- Maximum value is 3600 (1 hour)
[ 0 .. 3600 ]
number[ 0 .. 3600 ]
team members who provide the service, along with the duration of the service for each team member
Example: [{"id":5905,"seance_length":2700},{"id":5907,"seance_length":3600},{"id":8973,"seance_length":3600},{"id":13616,"seance_length":3600},{"id":16681,"seance_length":3600},{"id":1796,"seance_length":3600},{"id":34006,"seance_length":3600}]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/services/{location_id}
- Productionhttps://api.alteg.io/api/v1/services/{location_id}
- 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/services/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorizarion: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Men'\''s haircut",
"category_id": 83167,
"price_min": 1300,
"price_max": 1300,
"duration": 3600,
"discount": 0,
"comment": "",
"weight": 6,
"active": 1,
"api_id": "00000000042",
"staff": [
{
"id": 5905,
"seance_length": 2700
},
{
"id": 5907,
"seance_length": 3600
},
{
"id": 8973,
"seance_length": 3600
},
{
"id": 13616,
"seance_length": 3600
},
{
"id": 16681,
"seance_length": 3600
},
{
"id": 1796,
"seance_length": 3600
},
{
"id": 34006,
"seance_length": 3600
}
]
}'Created
Object with data
Example: {"id":83169,"salon_service_id":322888,"title":"Men's haircut","category_id":83167,"price_min":1300,"price_max":1300,"duration":3600,"discount":0,"comment":"","weight":6,"active":1,"api_id":"00000000042","staff":[{"id":5905,"seance_length":2700},{"id":5907,"seance_length":3600},{"id":8973,"seance_length":3600},{"id":13616,"seance_length":3600},{"id":16681,"seance_length":3600},{"id":1796,"seance_length":3600},{"id":34006,"seance_length":3600}]}
Response
application/json
{ "success": true, "data": { "id": 83169, "title": "Men's haircut", "category_id": 83167, "price_min": 1300, "price_max": 1300, "duration": 3600, "discount": 0, "comment": "", "weight": 6, "active": 1, "api_id": "00000000042", "staff": [ … ] }, "meta": [] }