Delete program member
Changed onDeletes the member and sets status to DELETED. Removes the member's card assignments in this program.
Returns the member without a cards array. Delete doesn't change updated_at.
Records a vl.member.deleted activity. Each unassigned card also records vl.member.card.unassigned and vl.card.unassigned. When an assignment has a tier, the delete records a LEFT tier transaction with origin member_card_deleted.
The same customer can join the program again. The new member gets a new ID.
Returns 404 when the program doesn't exist, or when the member doesn't exist in that program. The program is checked first. Deleting a member that is already DELETED returns 404.
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
Response
The deleted member (without cards).
Changes
- info
the endpoint scheme security
X-App-Id AND X-App-Tokenwas added to the API - info
the endpoint scheme security
bearerAuthwas added to the API
- info
- 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 - 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 to the response body
allOflist for the response status - info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking