- Deprecated. Get full client profiles in a location
Adding a Client
Get a list of clients
Get a client
Edit client
Delete client
Bulk adding clients
List client card comments
Add a client card comment
Delete a comment for a client
List client card files
Upload a completed document to a client card
Delete a client card file
Search by customer history
Deprecated. Get full clie...
Returns full client cards (including categories, custom fields, lifetime spent and paid amounts) in ascending client ID order. The default page is 1 and the default count is 20; count is limited to 300. The response includes meta.total_count for pagination. Requires both location edit access and client-base access. Phone, email and comments can be masked or omitted according to the user permissions. This legacy route has only the filters listed below. For richer segmentation and sorting, use POST /company/{location_id}/clients/search; that endpoint returns a selected field projection rather than full cards.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/clients/{location_id}
- Productionhttps://api.alteg.io/api/v1/clients/{location_id}
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/clients/{location_id}?fullname=Joh&phone=1315&card=string&id%5B%5D=0&email=test%40&paid_min=1&paid_max=1&page=1&count=20&id=66&changed_after=2019-08-24T14%3A15%3A22Z&changed_before=2019-08-24T14%3A15%3A22Z' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example:
[ { "id": 66, "name": "James", "surname": "Smith", "patronymic": "A", "display_name": "James Smith", "phone": "+13155550177", "email": "james@example.com", "categories": [ … ], "sex_id": 1, "sex": "Male", "discount": 10, "importance_id": 3, "importance": "Gold", "card": "000123", "birth_date": "1990-04-03", "comment": "Prefers mornings", "sms_check": 1, "sms_not": 0, "spent": 1250.5, "paid": 1200, "balance": -50.5, "visits": 9, "last_change_date": "2026-02-01T12:00:00-0500", "custom_fields": {} } ]
Response
{ "success": true, "data": [ { … }, { … } ], "meta": { "page": 1, "total_count": 8 } }