- Get a List of Customer Cards by ID
Get a List of Customer Cards by Phone Number
Get a list of card types available at the location
Get a List of Card Types Available for Issuance to the Client
Get a List of Card Types Available at the Chain
Issue a Loyalty Card
Remove a Loyalty Card
Manual withdraw/deposit to loyalty card in location
Manual withdraw/deposit to loyalty card in chain
Apply Deduction from the Loyalty Card in the Visit
Cancel Withdrawal from the Loyalty Card During the Visit
Get a List of Customer Ca...
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": [ { … } ] }