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

Get team member schedules

Request

Retrieves work schedules for team members as working intervals.

Optionally includes:

  • Busy intervals (appointments and events)
  • Off-day type identifiers

Query Parameters:

  • start_date / end_date - Date range for schedule search
  • staff_ids[] - Filter by specific team members
  • include[] - Include additional data (busy_intervals, off_day_type)
Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example: 720441
Query
start_datestring(date)

Start date for schedule search (YYYY-MM-DD)

Example: start_date=2026-01-31
end_datestring(date)

End date for schedule search (YYYY-MM-DD)

Example: end_date=2026-03-31
staff_idsArray of integers

Team member IDs to filter by. Example: staff_ids[]=123&staff_ids[]=234

includeArray of strings

Additional data to include in response. Example: include[]=busy_intervals&include[]=off_day_type

Items Enum"busy_intervals""off_day_type"
Headers
Acceptstringrequired
Default application/vnd.api.v2+json
Content-Typestringrequired
Default application/json
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/720441/staff/schedule?start_date=2026-01-31&end_date=2026-03-31&staff_ids=0&include=busy_intervals' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

Schedules retrieved successfully

Bodyapplication/json
successboolean
Example: true
dataArray of objects
metaobject
Response
application/json
{ "success": true, "data": [ {} ], "meta": { "count": 1 } }

Set team member schedules

Request

Sets work schedules for team members by date.

Supports both setting new schedules and deleting existing ones in a single request.

Returns the resulting schedules for affected team members within the date range from minimum to maximum modified date.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example: 720441
Headers
Acceptstringrequired
Default application/vnd.api.v2+json
Content-Typestringrequired
Default application/json
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

Bodyapplication/jsonrequired
schedules_to_setArray of objects

Schedules to create or update

schedules_to_deleteArray of objects

Schedules to delete (make non-working days)

curl -i -X PUT \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/720441/staff/schedule \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "schedules_to_set": [
      {
        "team_member_id": 12345,
        "dates": [
          "2026-01-31",
          "2026-02-01"
        ],
        "slots": [
          {
            "from": "10:00",
            "to": "14:00"
          },
          {
            "from": "15:00",
            "to": "19:00"
          }
        ]
      }
    ],
    "schedules_to_delete": [
      {
        "team_member_id": 12345,
        "dates": [
          "2026-02-02"
        ]
      }
    ]
  }'

Responses

Schedules updated successfully

Bodyapplication/json
successboolean
Example: true
dataArray of objects

Resulting schedules for modified team members

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

Update team member schedule (deprecated)Deprecated

Request

DEPRECATED: Use PUT /location/{location_id}/staff/schedule instead.

Updates the work schedule for a specific team member.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example: 720441
team_member_idintegerrequired

Team member ID

Example: 12345
Headers
Acceptstringrequired
Default application/vnd.api.v2+json
Content-Typestringrequired
Default application/json
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

Bodyapplication/jsonrequiredArray [
datestring(date)required

Schedule date (YYYY-MM-DD)

Example: "2026-01-15"
is_workingbooleanrequired

Whether the team member is working on this date

Example: true
slotsArray of objectsrequired

Working time intervals

slots[].​fromstring

Interval start time (HH:mm)

Example: "10:00"
slots[].​tostring

Interval end time (HH:mm)

Example: "14:30"
]
curl -i -X PUT \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/schedule/720441/12345 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "date": "2026-01-15",
      "is_working": true,
      "slots": [
        {
          "from": "10:00",
          "to": "14:30"
        },
        {
          "from": "15:00",
          "to": "22:00"
        }
      ]
    },
    {
      "date": "2026-01-16",
      "is_working": true,
      "slots": [
        {
          "from": "10:00",
          "to": "14:00"
        },
        {
          "from": "15:00",
          "to": "23:15"
        }
      ]
    }
  ]'

Responses

Schedule updated successfully

Bodyapplication/json
Response
application/json
null

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