Get program membership
Changed onReturns the membership for one customer in the program: the member, the program, and the member's loyalty cards. A card includes tier_progress when its card definition has a tier structure and the member has a tier on that card. Otherwise tier_progress is omitted.
identification_type chooses how customerId is read. It defaults to customer_id.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/programs/{programId}/memberships/{customerId}
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Query parameters
Selects how customerId is read. customer_id is the Voucherify customer ID and the default. customer_source_id is the customer's source_id. member_id is the loyalty member ID.
Response
The membership in the program.
Changes
- breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - info
added the required property
////////////////////to the response with the status - info
added the required property
////////////////////to the response with the status - info
added the required property
////////////////////to the response with the status - info
added the required property
////////////////////to the response with the status
- breaking
- breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - info
added the required property
/////////////////to the response with the status - info
added the required property
/////////////////to the response with the status - info
added the required property
/////////////////to the response with the status - info
added the required property
/////////////////to the response with the status
- breaking