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

Duplicate Event

Request

A request for duplication can be made in 3 ways:

  • Specifying a list of dates and times to duplicate

  • Specifying the ID of the repetition strategy

  • By specifying all repetition parameters

Security
BearerPartnerUser
Path
location_idnumberrequired
Example: 1
event_idintegerrequired
Example: 2
Headers
Acceptstringrequired

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

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

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

Bodyapplication/json
object
curl -i -X POST \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/1/2/duplicate \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

OK

Bodyapplication/json
Response
application/json
{ "success": true, "data": [ {} ], "meta": { "count": 2 } }

Search Event Services

Request

Security
BearerPartner
Path
location_idnumberrequired

location ID

Example: 4564
Query
staff_idnumber

team member ID to filter

termstring

Search by name or part of the service name

Headers
Acceptstringrequired

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

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

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/4564/services?staff_id=0&term=string' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1209148,"title":"Fitness test","capacity":5,"price_min":2,"price_max":3,"is_multi":true,"category":{"id":1285356,"title":"Group services"},"staff":[{"id":37695,"name":"Kim Kardashian","length":7200}],"resources":[{"id":464,"title":"massage room","salon_id":4564}]}]
metaobject

Metadata (contains the number of services found)

Example: {"count":1}
Response
application/json
{ "success": true, "data": [ {} ], "meta": { "count": 1 } }

List Event Duplication Strategies

Request

Duplication of Events occurs based on a set of parameters combined in the "duplication strategy" entity

FieldTypeDescription
titlestringStrategy name
repeat_mode_idintegerRepeat mode
daysinteger[]List of days of the week: 0 Sun, 6 Fri
intervalintegerBreak in searching for dates, in units of type
content_typeintegerDuplicate appointments? 1 - no, 2 - yes

The repeat mode can take the values

MeaningDescriptionBreak unit
1DailyDay
2Weekdays-
3Mon Wed Fri-
4Tue Thu-
5Every weekWeek
6Every monthMonth
7Every yearYear

The days field is relevant only for mode 5 - week, for specifying specific days of repetition If you specify repeat_mode = 5, days = [1,4], interval = 2, then the Event will be repeat every 3rd week on Mon and Thu

Security
BearerPartner
Path
location_idnumberrequired

location ID

Example: 4564
Headers
Acceptstringrequired

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

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

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/4564/duplication_strategy \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
Response
application/json
{ "success": true, "data": [ {} ], "meta": { "count": 1 } }

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