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

Example of a request to get categories

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

parent_category_idnumberrequired

ID of the parent product category

Query
Acceptstringrequired

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/company/{location_id}/goods_categories/{parent_category_id}?Accept=string&Content-Type=string&Authorization=string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1035384,"title":"Memberships","parent_category_id":null,"is_chain":true},{"id":961078,"title":"Basic products","parent_category_id":null,"is_chain":false}]
metaobject

Metadata

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

Example of a request to get the composition of a category

Request

##№ Composition of the product category

Information on a product category and its descendants can be obtained by making a request specifying the location ID and product category. Pagination is supported, specified by the page and count parameters.

Composition of a product category has the following structure:

FieldTypeDescription
parent_idnumberParent element ID (0 for root elements)
item_idnumberItem ID (always 0)
category_idnumberProduct category ID
titlestringProduct category name
is_chainbooleanIs the element chain-bound? true - the element is connected to the chain, false - not connected
is_categorybooleanIs the element a category? always true
is_itembooleanIs the item a product? always false
childrenarray of objects (Product tree element)Child elements of a product category
children_countnumberTotal number of child products and categories (no recursion)
Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

category_idnumberrequired

Product Category ID

Query
pagenumber

Page number

countnumber

The number of products displayed on the page. Maximum 1000

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/goods/category_node/{location_id}/{category_id}?page=0&count=0' \
  -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: {"parent_id":0,"item_id":0,"category_id":123,"title":"Root category 1","is_chain":false,"is_category":true,"is_item":false,"children":[{"parent_id":123,"item_id":0,"category_id":456,"title":"Child category","is_chain":false,"is_category":true,"is_item":false},{"parent_id":123,"item_id":789,"category_id":0,"title":"Child product","is_chain":false,"is_category":false,"is_item":true}],"children_count":2}
Response
application/json
{ "success": true, "data": { "parent_id": 0, "item_id": 0, "category_id": 123, "title": "Root category 1", "is_chain": false, "is_category": true, "is_item": false, "children": [], "children_count": 2 } }

Get a list of product categories by ID

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
location_idnumber

Product category ID (you can specify several additional parameters &ids[]={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

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/goods_categories/multiple/{location_id}?location_id=0' \
  -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
dataArray of objects

Array of objects with data

Example: [{"id":1035384,"title":"Memberships","parent_category_id":null,"is_chain":true},{"id":961078,"title":"Basic products","parent_category_id":null,"is_chain":false}]
metaobject

Metadata

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

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