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
| Param | Type | Description |
|---|---|---|
correlationId | string | Session correlation ID |
Query Parameters
| Param | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Redemption 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
| Code | Error | Description |
|---|---|---|
| 400 | MISSING_REDEMPTION_TYPE | Query param type is absent |
| 404 | PREFERENCE_NOT_FOUND | No preference record exists for this member and type |
| 404 | FEATURE_NOT_ENABLED | voucherConfig.redemptionPreference.enabled is false for this client |
Request
Responses
- 204
- 400
- 404
204 - Preference Deleted
400 - Missing Redemption Type
404 - Preference Not Found