Create program member
Changed onEnrolls an existing customer as a member of the loyalty program and creates a loyalty card for each card definition assigned to the program. Card code generation is asynchronous, so code can be null right after creation.
The program must be ACTIVE and inside its validity window, and the customer must already exist. A customer can be a member of a program only once. Identify the customer with customer_identification. status defaults to ACTIVE.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/programs/{programId}/members
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Request body
Response
The created member with its automatically created cards.
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