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

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

Get Online Booking Settings

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Authorizationstringrequired

Bearer partner_token, User user_token

Content-Typestringrequired

application/json

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/settings/online' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Online Booking Settings Data

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataobject(company_get_online_settings_response_data_field_data_types)

Online booking settings for a location

Example: {"confirm_number":false,"any_master":true,"seance_delay_step":90,"activity_online_record_clients_count_max":1}
metaArray of objects

metadata

Example: []
Response
application/json
{ "success": true, "data": { "confirm_number": false, "any_master": true, "seance_delay_step": 90, "activity_online_record_clients_count_max": 1 }, "meta": [] }

Update Online Booking Settings

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Authorizationstringrequired

Bearer partner_token, User user_token

Content-Typestringrequired

application/json

Bodyapplication/jsonrequired
activity_online_record_clients_count_maxinteger[ 1 .. 255 ]required

Maximum number of seats in one group event

Example: 1
any_masterbooleanrequired

"Any team member" mode

Example: true
confirm_numberbooleanrequired

Confirm customer number via SMS

seance_delay_stepinteger[ 0 .. 1380 ]required

Delay to the next session, in minutes from 0 to 23 hours (inclusive) in increments of 30 minutes

Example: 90
curl -i -X PATCH \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/settings/online' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "confirm_number": false,
    "any_master": true,
    "seance_delay_step": 90,
    "activity_online_record_clients_count_max": 1
  }'

Responses

Updated online booking settings data

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataobject(company_get_online_settings_response_data_field_data_types)

Online booking settings for a location

Example: {"confirm_number":false,"any_master":true,"seance_delay_step":90,"activity_online_record_clients_count_max":1}
metaArray of objects

metadata

Example: []
Response
application/json
{ "success": true, "data": { "confirm_number": false, "any_master": true, "seance_delay_step": 90, "activity_online_record_clients_count_max": 1 }, "meta": [] }

Get timeslot settings

Request

Retrieves the timeslot configuration for online booking at a location.

Timeslot settings control how available booking times are displayed to clients:

  • Grid type (predefined, schedule-based, or dynamic)
  • Available time range
  • Step interval between slots
  • Delay before nearest available slot
  • Per-weekday and per-date overrides

Timeslot values are in seconds from midnight (e.g., 7200 = 02:00, 50400 = 14:00).

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example: 720441
Headers
Acceptstringrequired
Default application/vnd.api.v2+json
Content-Typestringrequired
Default application/json
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/720441/settings/timeslots \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

Timeslot settings retrieved successfully

Bodyapplication/json
successboolean
Example: true
dataobject

Timeslot settings object

metaArray of arrays
Example: []
Response
application/json
{ "success": true, "data": { "is_enabled": true, "weekdays_settings": [], "dates_settings": [] }, "meta": [] }

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