Skip to content

Business Management (1.0.0)

Full-featured B2B API for business operations.

Base URL: https://api.alteg.io/api

⚠️ Version Status

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.

Authentication

Requires both partner and user authorization:

Authorization: Bearer <partner_token>, User <user_token>
Download OpenAPI description
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/

Authentication B2B

User authentication and session management for B2B integrations

Operations

Locations

Manage business locations (salons, clinics, etc.)

Operations

Services

Service catalog management including categories and team member assignments

Operations

Linking a Team Member to a Provided Service

Request

Creates a team member service link with provided duration and bill of materials.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
service_idnumberrequired

ID of service.

Example: 123
Headers
Acceptstringrequired

Should be equal to application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example: application/json
Bodyapplication/json
master_idnumberrequired

ID of a team member who provides the service.

Example: 123
seance_lengthnumberrequired

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
technological_card_idnumber or nullrequired

ID of bill of materials used while providing the service.

Example: 123
curl -i -X POST \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/services/123/staff \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "master_id": 123,
    "seance_length": 3600,
    "technological_card_id": 123
  }'

Responses

Created

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject(master_service_link)
metaArray of objects or arrays or object(response_meta_empty_object)

Additional response data (empty object or empty array)

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": {} }

Updating Team Member Service Link Settings

Request

Updates a team member service link with provided duration and bill of materials.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
service_idnumberrequired

ID of service.

Example: 123
team_member_idnumberrequired

ID of team member.

Example: 123
Headers
Acceptstringrequired

Should be equal to application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example: application/json
Bodyapplication/json
seance_lengthnumberrequired

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
technological_card_idnumber or nullrequired

ID of bill of materials used while providing the service.

Example: 123
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
  }'

Responses

OK

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject(master_service_link)
metaArray of objects or arrays or object(response_meta_empty_object)

Additional response data (empty object or empty array)

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": {} }

Deleting a Team Member Service Link

Request

Deletes a team member service link.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
service_idnumberrequired

ID of service.

Example: 123
team_member_idnumberrequired

ID of team member.

Example: 123
Headers
Acceptstringrequired

Should be equal to application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example: application/json
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'

Responses

No Content

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject or null(response_data_null_object)

Response data.

metaArray of objects or arrays or object(response_meta_empty_object)

Additional response data (empty object or empty array)

Response
application/json
{ "success": true, "data": null, "meta": {} }

Team Members

Staff management including positions and scheduling

Operations

Clients

Client database management with comments, files, and visit history

Operations

Users & Permissions

User account management and role-based access control

Operations

Appointments

Booking records and visit management

Operations

Events

Group events and class management

Operations

Schedule & Resources

Timetables, schedules, and resource allocation

Operations

Products

Product catalog and categories

Operations

Inventory

Stock management, storage operations, and tech cards

Operations

Sales

Sales transactions and document management

Operations

Payments

Payment processing, accounts, and KKM transactions

Operations

Notifications

SMS and email notifications to clients

Operations

Online Booking Settings

Configure online booking behavior and forms

Operations

Analytics & Reports

Business analytics, charts, and Z-reports

Operations

Tags

Label management for categorizing entities (deprecated, use v2)

Operations

Deposits

Client deposit accounts and operations

Operations

Loyalty Cards

Loyalty card types, issuance, and manual transactions

Operations

Subscriptions & Certificates

Membership subscriptions and gift certificates

Operations

Loyalty Programs

Discount programs, referral programs, and loyalty transactions

Operations

Salary

Staff salary calculations, payroll, and schemes

Operations

Notification Settings

Configure notification types and user preferences

Custom Fields

Custom field definitions for various entities

Operations

Chain Management

Multi-location chain operations and clients

Operations

Chain Loyalty Programs

Chain-level loyalty programs and transactions

Operations

Fiscalization

Tax system integration and KKM callbacks

Operations

Utilities

License info, phone validation, images, and tips

Operations