Rewards
Delete a reward
<Warning><Badge color="yellow">BETA endpoint</Badge>
This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.
</Warning>Deletes a reward (moves it to the DELETED status). Returns the deleted reward.
delete/v2/loyalties/rewards/{rewardId}
Path parameters
idstring required
Unique reward identifier, prefixed with lrew_.
Response
The deleted reward.
Example response
{
"validity_hours": {
"daily": [
{
"start_time": "09:00",
"end_time": "17:00"
}
]
}
}