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

Utilities

License info, phone validation, images, and tips

Operations

Image upload

Request

The response object has the following fields:

FieldTypeDescription
image_bindedbooleanStatus of linking images to an entity
image_groupobjectImage group object
Security
BearerPartnerUser
Path
entitystringrequired

entity name (team_member for team members, service for services)

Example: "master"
Headers
Acceptstringrequired

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

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

form-data

Authorizationstringrequired

Bearer partner_token, User user_token

Bodymultipart/form-datarequired
imagestringrequired

transferred image (image/jpeg, image/png)

company_idnumber

Location ID for image binding (for entity=service)

service_idnumber

Service ID for image binding (for entity=service)

master_idnumber

team member ID for image binding (for entity=team_member)

curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/images/"master"' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F company_id=0 \
  -F service_id=0 \
  -F master_id=0 \
  -F image=string

Responses

OK

Bodyapplication/json
image_groupobject(image_group)required
image_group.​idnumberrequired

image group id

image_group.​image_bindedbooleanrequired

The status of linking images to an entity

image_group.​image_groupobjectrequired

Image group object

image_group.​imagesobject(image)required
image_group.​images.​heightnumberrequired

Image Height

image_group.​images.​idnumberrequired

image id

image_group.​images.​image_group_idnumberrequired

Image group id

image_group.​images.​pathstringrequired

Image Path

image_group.​images.​typestringrequired

Image type

image_group.​images.​versionstringrequired

Image version

image_group.​images.​widthnumberrequired

Image Width

image_group.​entitystring

The name of the entity to which the group is bound

image_group.​entity_idnumber

Entity ID

ImageGroupobject(image_group)
Response
application/json
{ "success": true, "data": { "image_binded": false, "image_group ": {} }, "meta": [] }

Deleting images

Request

The response object has the following fields:

FieldTypeDescription
successbooleanDeletion result
Security
BearerPartnerUser
Path
entitystringrequired

entity name (team_member for team members, service for services)

Headers
Acceptstringrequired

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

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

form-data

Authorizationstringrequired

Bearer partner_token, User user_token

Bodymultipart/form-datarequired
image_group_idnumberrequired

Image group ID to delete

curl -i -X DELETE \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/images/{entity}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: multipart/form-data'

Responses

OK

Response
No content

Get a list of location team members with their tip settings

Request

Security
BearerPartner
Path
location_idintegerrequired

location ID

Headers
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/tips/{location_id}/settings' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Collection of objects

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1,"location_id":253859,"staff_id":742418,"hash":"ba816199-eecf-4bd2-9f1d-db470545bfaf","status":3,"status_title":"pending account","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/ba816199-eecf-4bd2-9f1d-db470545bfaf/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/742418/tips/pay/","invite_sms_sent":false,"staff":{"id":742418,"name":"Fusa","specialization":"cosmetologist","avatar":"https://assets.alteg.io/masters/sm/c/c7/c77a4bf2b6b3896_20210304004333.png","employee":{"id":733043,"phone":"+13155550175"},"user":{"id":1553930,"name":"James Smith","email":"j.smith@example.com","phone":"+13155550175"},"position":{"id":103883,"title":"Yogist"}}},{"id":152763,"location_id":253859,"staff_id":743018,"hash":"b7c81cab-290a-4b0a-ad05-9c4b98ef3565","status":4,"status_title":"everything is set","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/b7c81cab-290a-4b0a-ad05-9c4b98ef3565/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/743018/tips/pay/","invite_sms_sent":false,"staff":{"id":743018,"name":"Natasha M","specialization":"manicurist","avatar":"https://api.alteg.io/images/no-master-sm.png","employee":{"id":733547,"phone":"+13155550175"},"user":{"id":6259059,"name":"Alice Smith","email":"a.smith@example.com","phone":"+13155550175"},"position":{"id":103731,"title":"Manicurist"}}}]
metaobject

Metadata (contains the number of found team members)

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