User authentication and session management for B2B integrations
- Deleting a Team Member Service Link
Create a service category
Get a list of services
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
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
Deleting a Team Member Se...
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/
Bodyapplication/json
Duration of service provision by the specified team member in seconds, minimum 300 seconds (5 minutes), maximum 86100 seconds (23 hours 55 minutes).
Example: 3600
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/services/{service_id}/staff/{team_member_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/services/{service_id}/staff/{team_member_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/services/123/staff/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"seance_length": 3600,
"technological_card_id": 123
}'Response
application/json
{ "success": true, "data": { "service_id": 123, "master_id": 123, "length": 3600, "technological_card_id": 123, "api_id": "", "is_online": true, "is_offline_records_allowed": true, "price": null }, "meta": {} }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/services/{service_id}/staff/{team_member_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/services/{service_id}/staff/{team_member_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/services/123/staff/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": {} }
Request
Updates service configuration including:
- Team member assignments with custom duration and pricing
- Tech cards (technological cards) for each team member
- Required resources for the service
- Service name translations for different languages
This endpoint allows bulk updating of service-team member relationships without affecting other service properties.
Security
BearerPartnerUser
List of team members providing this service with duration and tech cards
Tech card ID for this team member's service delivery
Example: 291341
List of resource IDs required to provide this service
Example: [62173]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/services/links
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/services/links
- 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/720441/services/links \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"service_id": 10832939,
"team_member_settings": [
{
"team_member_id": 2033728,
"tech_card_id": 291341,
"hours": 0,
"minutes": 45,
"price": {
"min": 999.99,
"max": null
}
},
{
"team_member_id": 1987799,
"tech_card_id": 291341,
"hours": 1,
"minutes": 15,
"price": null
}
],
"resource_ids": [
62173
],
"translations": [
{
"language_id": 2,
"translation": ""
},
{
"language_id": 2,
"translation": "Massage"
}
]
}'Response
application/json
{ "success": true, "data": {}, "meta": [] }