User authentication and session management for B2B integrations
- Edit client
Adding a Client
Get a list of clients
Get a client
Delete client
Bulk adding clients
List of a comments for a client
Add a comment for a client
Delete a comment for a client
Sample Request to Get a List of Client Files
Delete request example
Search by customer history
Deprecated. Get a list of clients
Edit client
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/client/{location_id}/{id}
- Productionhttps://api.alteg.io/api/v1/client/{location_id}/{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/client/{location_id}/{id}' \
-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": { "id": 16, "name": "James", "surname": "Smith", "middle_name": "James", "phone": 13155550178, "email": "", "categories": [], "gender": "unknown", "discount": 0, "importance": "No importance class", "card": "", "birth_date": null, "comment": "", "sms_check": 0, "sms_not": 0, "spent": 0, "balance": 0, "visits": 3, "last_change_date": "2026-03-01T12:00:00-0500", "custom_fields": [] }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/client/{location_id}/{id}
- Productionhttps://api.alteg.io/api/v1/client/{location_id}/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/client/{location_id}/{id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'Response
application/json
{ "success": true, "data": { "id": 1121412, "name": "James", "surname": "Smith", "middle_name": "James", "phone": 13155550179, "email": "j.smith@example.com", "categories": [], "gender": "Male", "gender_id": 1, "discount": 15, "importance_id": 1, "importance": "Bronze", "card": 555888666, "birth_date": "952041600", "comment": "throws show-off", "sms_check": 0, "sms_not": 0, "spent": 1000, "balance": -1200, "visits": 0, "last_change_date": "2026-06-01T12:00:00-0500", "custom_fields": { … } }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/client/{location_id}/{id}
- Productionhttps://api.alteg.io/api/v1/client/{location_id}/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/client/{location_id}/{id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'