Update program member
Changed onUpdates a program member's metadata. Provided object keys are merged into the existing metadata; omitted keys are preserved. Pass metadata: null to clear all metadata (sets it to an empty object).
This endpoint cannot change status. Use Activate program member or Deactivate program member for status transitions.
Records a vl.member.updated activity. Returns the updated member without the cards array. Returns 404 when the program or member does not exist. Returns 400 when the request body fails validation or the project vl_member metadata schema rejects the payload.
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v2/loyalties/programs/{programId}/members/{memberId}
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
Request body
Response
The updated member (without cards).
Changes
- breaking
added to the request body
allOflist - warning
removed the request property
- breaking
- breaking
added the new required request property
- warning
removed from the request body
allOflist
- breaking