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

Change location

Request

Change location data

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Example: 37532
Headers
Acceptstringrequired

Must be application/vnd.api.v2+json

Content-Typestringrequired

Must be application/json

Authorizationstringrequired

Bearer partner_token, User user_token

Bodyapplication/jsonrequired
titlestring

location name

Example: "James Smith LLC"
country_idnumber

Country ID (has higher priority then country)

countrystring

Country

Example: "United States"
city_idnumber

City ID (has higher priority then city)

citystring

City

Example: "New York"
addressstring

location address

Example: "New York, 787 Jackson Drive"
zipstring

Zip code

Example: "11435"
phonesArray of strings

location phone numbers

Example: ["12125357710","12125357711"]
socialobject

location social media

Example: {"instagram":"instagram.com/james_smith_company/"}
sitestring

location website

Example: "james-smith-company.com"
coordinate_latnumber(float)

Latitude

Example: 40.73061
coordinate_lonnumber(float)

Longitude

Example: -73.935242
descriptionstring(html)

Description

Example: "The <strong>James Smith</strong> location"
business_type_idnumber(int32)

Business type

Example: 1
short_descrstring

Business category

Example: "Beauty studio"
curl -i -X PUT \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/37532 \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "James Smith LLC",
    "country": "United States",
    "city": "New York",
    "address": "New York, 787 Jackson Drive",
    "zip": "11435",
    "phones": [
      "12125357710",
      "12125357711"
    ],
    "social": {
      "instagram": "instagram.com/james_smith_company/"
    },
    "site": "james-smith-company.com",
    "coordinate_lat": 40.73061,
    "coordinate_lon": -73.935242,
    "description": "The <strong>James Smith</strong> location",
    "business_type_id": 1,
    "short_descr": "Beauty studio"
  }'

Responses

OK

Bodyapplication/json
successboolean

Success status (true)

Example: true
dataobject
Example: {"id":37532,"title":"James Smith LLC","country_id":7,"country":"United States","city_id":181,"city":"New York","timezone_name":"America/New_York","address":"New York, 787 Jackson Drive","zip":"11435","coordinate_lat":40.73061,"coordinate_lon":-73.935242,"short_descr":"Beauty studio","social":{"facebook":"","instagram":"instagram.com/james_smith_company/","telegram":"","whatsapp":"","viber":""},"site":"james-smith-company.com","business_type_id":1,"description":"The <strong>James Smith</strong> location","phone_confirmation":true,"group_priority":900,"push_notification_phone_confirm":1,"access":{}}
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": { "id": 37532, "title": "James Smith LLC", "country_id": 7, "country": "United States", "city_id": 181, "city": "New York", "timezone_name": "America/New_York", "address": "New York, 787 Jackson Drive", "zip": "11435", "coordinate_lat": 40.73061, "coordinate_lon": -73.935242, "short_descr": "Beauty studio", "social": {}, "site": "james-smith-company.com", "business_type_id": 1, "description": "The <strong>James Smith</strong> location", "phone_confirmation": true, "group_priority": 900, "push_notification_phone_confirm": 1, "access": {} }, "meta": [] }

Delete location

Request

Delete a location.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Example: 37532
Headers
Acceptstringrequired

Must be application/vnd.api.v2+json

Content-Typestringrequired

Must be application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X DELETE \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/37532 \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Accepted

Response
No content

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