- Get client loyalty summary
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
Get comments
Leave a Comment
Get a chain client by phone number.
Deprecated. Get full client profiles in a location
Get client loyalty summar...
Returns everything the client can pay with or earn from at the Location in one call: gift cards, Memberships, loyalty cards and referral program settings. Gift cards and Memberships are matched by the client's phone number among those valid at this Location.
Use the status filters to get, for example, only active Memberships before booking. The Business User needs the permission to manage the Location and access to loyalty (or to client loyalty data).
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/client/{client_id}/loyalty
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/client/{client_id}/loyalty
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/4564/client/149853328/loyalty?abonement_status_slugs%5B%5D=created&certificate_status_slugs%5B%5D=created' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json'Response
{ "success": true, "data": { "certificates": [ … ], "abonements": [ … ], "loyalty_cards": [], "referral_settings": [ … ] }, "meta": [] }