User authentication and session management for B2B integrations
- Get customer statistics
Get key location metrics
Get occupancy data by day
Get data on revenue by day
Get the Structure of Appointments by Source
Get the Structure of Appointments by Visit Status
Get Data on the Number of Appointments by Day
Get revenue statistics
Get team member return
Get day-end report data
Get customer statistics
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
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.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/analytics/loyalty_programs/staff
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/analytics/loyalty_programs/staff
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/analytics/loyalty_programs/staff?date_to=string&date_from=string&loyalty_program_id=string' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/analytics/loyalty_programs/visits
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/analytics/loyalty_programs/visits
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/analytics/loyalty_programs/visits?date_to=string&date_from=string&loyalty_program_id=string' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
Example: {"client_stats":{"new":{"all_count":0,"lost_count":0,"returned_count":0,"returned_percent":0},"old":{"all_count":0,"lost_count":0,"returned_count":0,"returned_percent":0},"total":{"all_count":0,"lost_count":0,"returned_count":0,"returned_percent":0}},"visits_stats_by_day":[{"date":"2026-09-21","new_count":0,"old_count":0},{"date":"2026-09-21","new_count":0,"old_count":0}]}
Response
application/json
{ "success": true, "data": { "client_stats": { … }, "visits_stats_by_day": [ … ] }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/reports/z_report/{location_id}
- Productionhttps://api.alteg.io/api/v1/reports/z_report/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/reports/z_report/{location_id}?start_date=%27%27&master_id=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
Example: {"stats":{"clients":7,"clients_average":123.45,"records":14,"records_average":4231.51,"visit_records":13,"visit_records_average":100500.01,"non_visit_records":1,"non_visit_records_average":200,"targets":14,"targets_paid":10255,"goods":4,"goods_paid":12452.18,"certificates":1,"certificates_paid":9876,"abonement":0,"abonement_paid":0},"paids":{"accounts":[{"title":"Cards","amount":6987},{"title":"Cash","amount":54321.13},{"title":"Location account","amount":12531}],"discount":[{"title":"Advance Discount","amount":1816.875},{"title":"Written off bonuses","amount":800},{"title":"Promotion Discount","amount":123}],"total":{"accounts":2657.13,"discount":1241.875}},"z_data":{"1481101200":[{"client_id":11223344,"client_name":"John Smith","client_phone":"+13155550175","client_email":"","masters":[{"master_id":321123,"master_name":"Robert Brown","service":[{"item_title":"Highlighting from 9 strands","first_cost":3500,"discount":0,"result_cost":3500,"transactions":[{"accounts_amount":0,"loyalty_amount":700,"payment_type":"Card: Gold Card"},{"accounts_amount":0,"loyalty_amount":100,"payment_type":"Card: Gold Card"},{"accounts_amount":0,"loyalty_amount":1,"payment_type":"Card: Bonus card"}]}],"good":[{"item_title":"Spray For Hair","first_cost":15,"discount":2.25,"result_cost":12.75,"transactions":[{"accounts_amount":12.75,"loyalty_amount":0,"payment_type":"Cash"}]}],"others":{"item_title":"Other operations","first_cost":347,"discount":0,"result_cost":347,"transactions":[{"accounts_amount":23,"loyalty_amount":0,"payment_type":"Cash"},{"accounts_amount":324,"loyalty_amount":0,"payment_type":"Cash"}]}}]}]},"currency":"USD"}
Response
application/json
{ "success": true, "data": { "stats": { … }, "paids": { … }, "z_data": { … }, "currency": "USD" }, "meta": [] }