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

Create a Schedule Series

Request

Adds a new series to an existing schedule of appointments or events.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
schedule_idintegerrequired

ID of a schedule.

Example: 123
Query
includeArray of strings

Requested set of an included models.

Items Enum"events_master""events_labels""events_resource_instances""events"
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
day_of_weekstringrequired

The day of the week for the schedule series.

Enum"mon""tue""wed""thu""fri""sat""sun"
Example: "mon"
events_master_idnumberrequired

The ID of the team member assigned to the events in the schedule series.

Example: 123
events_timestringrequired

Start time of the events in the schedule series, formatted as HH:MM:SS.

Example: "14:00:00"
events_durationnumberrequired

Duration of each event in the schedule series, in seconds.

Example: 3600
events_capacitynumberrequired

The capacity of activities in the schedule series. For appointments, this should be set to 1.

Example: 4
labels_idsArray of numbers

An array of tag IDs associated with the events in the schedule series.

Example: [123]
resource_instances_idsArray of numbers

An array of resource instance IDs used in the events of the schedule series.

Example: [123]
curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules/123/days?include=events_master' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "day_of_week": "mon",
    "events_master_id": 123,
    "events_time": "14:00:00",
    "events_duration": 3600,
    "events_capacity": 4,
    "labels_ids": [
      123
    ],
    "resource_instances_ids": [
      123
    ]
  }'

Responses

Created

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject(timetable_event_schedule_day)

Data for an existing schedule series in a location.

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": { "id": 123, "created_at": "2026-01-01T12:12:12-05:00", "updated_at": "2026-01-01T12:12:12-05:00", "deleted_at": null, "timetable_event_schedule_id": 123, "day_of_week": "mon", "events_time": "14:00:00", "events_duration": 3600, "event_technical_break_duration": 0, "events_master": {}, "events_labels": [], "events_resource_instances": [], "events": [] }, "meta": {} }

Update a schedule series

Request

Updates the settings of a schedule series for appointments or events.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
schedule_idintegerrequired

ID of a schedule.

Example: 123
day_idnumberrequired

ID of a schedule series.

Example: 123
Query
includeArray of strings

Requested set of an included models.

Items Enum"events_master""events_labels""events_resource_instances""events"
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
forcebooleanrequired

Flag for force override of manual changes in scheduled appointments/events.

Example: false
events_master_idnumber

The ID of the team member assigned to the events in the schedule series.

Example: 123
events_timestring

Start time of the events in the schedule series, formatted as HH:MM:SS.

Example: "14:00:00"
events_durationnumber

Duration of each event in the schedule series, in seconds.

Example: 3600
events_capacitynumber

The capacity of activities in the schedule series. For appointments, this should be set to 1.

Example: 4
labels_idsArray of numbers

An array of tag IDs associated with the events in the schedule series.

Example: [123]
resource_instances_idsArray of numbers

An array of resource instance IDs used in the events of the schedule series.

Example: [123]
curl -i -X PATCH \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules/123/days/123?include=events_master' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "force": false,
    "events_master_id": 123,
    "events_time": "14:00:00",
    "events_duration": 3600,
    "events_capacity": 4,
    "labels_ids": [
      123
    ],
    "resource_instances_ids": [
      123
    ]
  }'

Responses

OK

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject(timetable_event_schedule_day)

Data for an existing schedule series in a location.

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": { "id": 123, "created_at": "2026-01-01T12:12:12-05:00", "updated_at": "2026-01-01T12:12:12-05:00", "deleted_at": null, "timetable_event_schedule_id": 123, "day_of_week": "mon", "events_time": "14:00:00", "events_duration": 3600, "event_technical_break_duration": 0, "events_master": {}, "events_labels": [], "events_resource_instances": [], "events": [] }, "meta": {} }

Delete a schedule series

Request

Deletes a schedule series and all appointments or events linked to it.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
schedule_idintegerrequired

ID of a schedule.

Example: 123
day_idnumberrequired

ID of a schedule series.

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/schedules/123/days/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": {} }

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