Skip to content

Get a client's membership activity history

Request

Returns state changes and usage events for one membership belonging to the specified client at this Location. The client must belong to the Location, and the membership must be found among that client's memberships by phone; either mismatch returns 404. The caller needs Location access, Loyalty access, and permission to view membership history. This activity history is not a purchase history and does not provide a sale price or paid amount.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

client_idintegerrequired

Client ID at this Location

membership_idintegerrequired

Membership instance ID

Query
includestring

Optional related data: loyalty_transaction, loyalty_entity_changes, or user. State changes are included by default.

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/client/{client_id}/loyalty/abonements/{membership_id}/history?include=string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

Membership activity events

Bodyapplication/json
successboolean
dataArray of objects
metaobject
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }