Skip to main content

Delete Redemption Preference

DELETE 

/client/users/:correlation_id/redemption-preference

Hard-deletes the member's redemption preference for the given type. The member can re-create at any time via PUT /redemption-preference.

Path Parameters

ParamTypeDescription
correlationIdstringSession correlation ID

Query Parameters

ParamTypeRequiredDescription
typestringYesRedemption type to delete. Absent → 400 MISSING_REDEMPTION_TYPE. MVP: VOUCHER only.

Response

204 No Content on success. Empty response body.

Side Effects

Triggers a REDEMPTION_PREFERENCE DELETE sync to DIG via RedemptionPreferenceSyncProcessor (eventType: "DELETE"). DIG removes its internally stored preference record and stops evaluating notifications for this member.

Errors

CodeErrorDescription
400MISSING_REDEMPTION_TYPEQuery param type is absent
404PREFERENCE_NOT_FOUNDNo preference record exists for this member and type
404FEATURE_NOT_ENABLEDvoucherConfig.redemptionPreference.enabled is false for this client

Request

Responses

204 - Preference Deleted