Returns a list of client's memberships by phone
Security
BearerPartner
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/abonements
- Productionhttps://api.alteg.io/api/v1/loyalty/abonements
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/abonements?company_id=0&phone=0' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example:
[ { "id": 659878, "number": 788376, "balance_string": "Surfing (x10)", "is_frozen": false, "freeze_period": 0, "period": 9999, "period_unit_id": 3, "status": { … }, "balance_container": { … }, "type": { … } } ]
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }