- Obtaining chains available to the user
Get a chain client by phone number.
Obtaining chains availabl...
The location chain object has the following fields:
| Field | Type | Description |
|---|---|---|
| id | number | Location chain ID |
| title | string | Location chain name |
| locations | array | List of chain locations |
| access | object | Object with access rights for chain management |
Security
BearerPartner
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chains
- Productionhttps://api.alteg.io/api/v1/chains
curl -i -X GET \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/chains \
-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": [ … ], "access": { … } }, { "id": 508, "title": "Chain of salons in New York", "companies": [ … ], "access": { … } } ]
Response
{ "success": true, "data": [ { … }, { … } ] }