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

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

Example of a request in case of successful fiscalization or in case of an error

Request

Security
BearerPartnerUser
Headers
Acceptstringrequired

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

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

application/json

Authorizationstringrequired

Bearer partner_token

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

Responses

OK

Response
No content

Example of a request for fiscalization of a document

Request

Security
BearerPartnerUser
Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

Bodyapplication/jsonrequired
idstring

Unique ID of the sales document

Example: "d72fece5-6825-4895-9395-0133195612a4"
datestring(date-time)

Date and time the document was sent for printing (in ISO-8601 format)

Example: "2026-09-21T23:00:00.000-05:00"
document_idinteger(int32)

Internal document identifier in the Altegio system

Example: 239083104
typestring

Document type (list of possible values)

Enum"sale""return"
Example: "sale"
print_receiptboolean

Whether to print a paper check at the checkout during fiscalization

Example: true
customerobject

Client entity

Example: {"email":"customer@example.com","phone":"+13155550175"}
positionsArray of objects

List of positions in the check

Example: [{"type":"service","title":"Consultation","price":13.19,"quantity":1,"discount_amount":2.54,"vat":"ru_vat_10","payment_method":"payment","barcode":"12345"}]
paymentsArray of objects

List of fees applied per check

Example: [{"type":"card","sum":5.55},{"type":"cash","sum":4.55},{"type":"prepaid","sum":0.55}]
taxstring

Type of taxation system (slug from the list of taxation systems)

Example: "ru_osn"
cashierobject

The Essence of a Cashier

Example: {"uid":"4895-9395-0133195612a4","name":"John Smith","position":"Cashier"}
posobject

Options for the connected POS terminal

Example: {"enabled":true,"slip_count":2}
callback_urlstring

Link to update fiscal status

Example: "https://app.alteg.io/api/v1/integration/kkm/callback/"
custom_textstring

Arbitrary text for printing on a receipt

Example: "some custom text"
curl -i -X POST \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/https://your-api.url \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "d72fece5-6825-4895-9395-0133195612a4",
    "date": "2026-09-21T23:00:00.000-05:00",
    "document_id": 239083104,
    "type": "sale",
    "print_receipt": true,
    "customer": {
      "email": "customer@example.com",
      "phone": "+13155550175"
    },
    "positions": [
      {
        "type": "service",
        "title": "Consultation",
        "price": 13.19,
        "quantity": 1,
        "discount_amount": 2.54,
        "vat": "ru_vat_10",
        "payment_method": "payment",
        "barcode": "12345"
      }
    ],
    "payments": [
      {
        "type": "card",
        "sum": 5.55
      },
      {
        "type": "cash",
        "sum": 4.55
      },
      {
        "type": "prepaid",
        "sum": 0.55
      }
    ],
    "tax": "ru_osn",
    "cashier": {
      "uid": "4895-9395-0133195612a4",
      "name": "John Smith",
      "position": "Cashier"
    },
    "pos": {
      "enabled": true,
      "slip_count": 2
    },
    "callback_url": "https://app.alteg.io/api/v1/integration/kkm/callback/",
    "custom_text": "some custom text"
  }'

Responses

OK

Bodyapplication/json
Response
application/json
{ "id": "d72fece5-6825-4895-9395-0133195612a4", "status": "success", "code": 0, "message": "OK" }

Utilities

License info, phone validation, images, and tips

Operations