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

Analytics & Reports

Business analytics, charts, and Z-reports

Operations

Tags

Label management for categorizing entities (deprecated, use v2)

Operations

Create a Tag (Deprecated)Deprecated

Request

Deprecated: Use POST /api/v2/companies/{company_id}/tags instead.

Creates a new tag for the specified location.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
titlestringrequired

Name of tag

colorstringrequired

Tag color in #RRGGBB format

entitynumber

Tag type (0 - general tags, 1 - customer tags, 2 - appointment tags)

iconstring

Icon 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 POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/labels/{location_id}?title=string&color=string&entity=0&icon=string' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataobject

Object with data

Example: {"title":"test","salon_id":68570,"color":"#00ff11","entity":1,"id":3599560}
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": { "title": "test", "salon_id": 68570, "color": "#00ff11", "entity": 1, "id": 3599560 }, "meta": [] }

Get location tags (Deprecated)Deprecated

Request

Deprecated: Use GET /api/v2/companies/{company_id}/tags?entity={entity} instead. Returns tags for the specified entity type.

The entity parameter accepts string aliases:

  • common - common tags
  • client - client tags
  • record - appointment/record tags
  • activity - activity/event tags

Legacy support: Numeric values (0, 1, 2, 3) are also accepted but string aliases are preferred.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

entitystringrequired

Tag type alias

Enum"common""client""record""activity"
Example: client
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/labels/{location_id}/client' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status

Example: true
dataArray of objects

Array of tag objects

Example: [{"id":241625,"salon_id":68570,"title":"VIP client","color":"#ff2828","icon":"star","entity":1,"deleted":0,"not_editable":0},{"id":241626,"salon_id":68570,"title":"Regular client","color":"#009800","icon":"user","entity":1,"deleted":0,"not_editable":0}]
metaArray of arrays

Metadata (empty array)

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

Update Tag (Deprecated)Deprecated

Request

Deprecated: Use PUT /api/v2/companies/{company_id}/tags/{tag_id} instead.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

tag_idnumberrequired

Tag ID

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/jsonrequired
titlestring

name of tag

Example: "Testway2"
colorstring

Tag color in #RRGGBB format

Example: "#aa11ff"
entitynumber

Tag type (1 - tag for customers, 2 - tag for appointments)

Example: 2
iconstring

Icon name

Example: "Test"
curl -i -X PUT \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/labels/{location_id}/{tag_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "Testway2",
    "color": "#aa11ff",
    "entity": 2,
    "icon": "Test"
  }'

Responses

Accepted

Bodyapplication/json
Response
application/json
{ "success": true, "meta": { "message": "Accepted" } }

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