User authentication and session management for B2B integrations
- Get a List of Memberships by Filter
Get Client Memberships
Get User Memberships
Get a List of Membership Types by ID
Get a List of Available Membership Types
Search available subscriptions for event
Check membership availability for event
Get client gift cards
Get user gift cards
Get a List of Gift Card Types by ID
Get a List of Available Gift Card Types
Get a List of Memberships...
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/user/loyalty/abonements
- Productionhttps://api.alteg.io/api/v1/user/loyalty/abonements
- 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/user/loyalty/abonements?company_id=0' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example: [{"id":659878,"number":788376,"balance_string":"Surfing (x10)","is_frozen":false,"freeze_period":0,"period":9999,"period_unit_id":3,"status":{"id":1,"title":"Released","extended_title":"Released"},"balance_container":{"links":[{"count":10,"category":{"id":3129591,"category_id":1,"title":"Surfing"}}]},"type":{"id":97804,"salon_group_id":145071,"title":89999,"period":9999,"period_unit_id":3,"allow_freeze":false,"freeze_limit":0,"is_allow_empty_code":false,"is_united_balance":false,"united_balance_services_count":0,"balance_container":{"links":[{"count":10,"category":{"id":3129591,"category_id":1,"title":"Surfing"}}]}}}]
Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/abonements
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/abonements
- 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/chain/123/loyalty/abonements?created_after=2026-09-21T23%3A00%3A00.000-05%3A00&created_before=2026-09-21T23%3A00%3A00.000-05%3A00&abonements_ids=0&page=1&count=25' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
[ { "success": true, "data": [ … ], "meta": { … } } ]
Request
A list of membership types available at a location can be obtained by querying the location ID and membership type IDs.
The list is an array of membership types.
- Parameters
- company_id (required, number) - location ID
- id: 1 (optional, number) - membership type ID (you can specify several additional parameters
&ids[]={id}
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/loyalty/abonement_types/fetch
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/loyalty/abonement_types/fetch
- 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}/loyalty/abonement_types/fetch?ids%5B%5D=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array with data objects
Example: [{"id":12233,"salon_group_id":123,"title":"Subscription with the possibility of freezing for 14 days","period":0,"period_unit_id":0,"allow_freeze":true,"freeze_limit":14,"is_allow_empty_code":false,"is_united_balance":false,"united_balance_services_count":0},{"id":255789,"salon_group_id":456,"title":"Subscription for 6 months","period":6,"period_unit_id":3,"allow_freeze":false,"freeze_limit":0,"is_allow_empty_code":false,"is_united_balance":false,"united_balance_services_count":0}]
Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }