curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/memberships/{customerId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Get customer memberships
Returns loyalty memberships for a customer, including the resolved customer and each membership’s member, program, and cards. identification_type chooses how customerId is read. It defaults to customer_id.
customer_id and customer_source_id return every membership for that customer. member_id returns the customer linked to that member and only the membership for that member’s program.
Cards omit tier_progress. See Get program membership when you need tier progress.
Returns an empty memberships array when the customer exists and has no memberships. Returns 404 when the customer or member cannot be resolved.
A successful call records no activity.
curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/memberships/{customerId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Authorizations
Path Parameters
Query Parameters
Response
Customer memberships across programs.
Response body schema for GET /v2/loyalties/memberships/{customerId}.

