User authentication and session management for B2B integrations
- Obtaining chains available to the user
Get a chain client by phone number.
Obtaining chains availabl...
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/groups
- Productionhttps://api.alteg.io/api/v1/groups
- 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/groups \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example: [{"id":509,"title":"Chain of salons in New York","companies":[{"id":38726,"title":"Location in New York"},{"id":39287,"title":"Location in New York"}],"access":{"settings_access":"1","clients_access":"1","users_access":"1","loyalty_access":"1","loyalty_cards_manual_transactions_access":"1","chain_services_access":"1"}},{"id":508,"title":"Chain of salons in New York","companies":[{"id":38545,"title":"Location in New York"},{"id":38704,"title":"Location in New York"}],"access":{"settings_access":"1","clients_access":"1","users_access":"1","loyalty_access":"1","loyalty_cards_manual_transactions_access":"1","chain_services_access":"1"}}]
Response
application/json
{ "success": true, "data": [ { … }, { … } ] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/group/{chain_id}/clients
- Productionhttps://api.alteg.io/api/v1/group/{chain_id}/clients
- 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/group/{chain_id}/clients?phone=14264037640' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": { "salon_group_id": 312, "phone": "+13155550175", "clients": [ … ] }, "meta": [] }