Returns a list of customer cards with programs that are active in this location
The attributes in the response to the request completely match the "Get a list of issued cards by phone number" method described above
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/client_cards/{client_id}
- Productionhttps://api.alteg.io/api/v1/loyalty/client_cards/{client_id}
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/client_cards/{client_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
An object that contains the "id" and "title" fields: card type identifier and card type name, respectively
Example:
{ "id": 10992, "title": "5+2", "salon_group_id": 145071 }
An object that contains the "id" and "title" fields: the identifier of the chain where the card type was created and the name of this chain
Example:
{ "id": 145071, "title": "Dough chain1." }
Response
{ "id": 9210520, "balance": 100, "points": 0, "paid_amount": 1000, "sold_amount": 1000, "visits_count": 1, "number": 14507109210520, "type_id": 10992, "salon_group_id": 145071, "type": { "id": 10992, "title": "5+2", "salon_group_id": 145071 }, "salon_group": { "id": 145071, "title": "Dough chain1." }, "programs": [ { … } ] }