Rewards
Deactivate reward
<Info><Badge color="gray">Documentation in progress</Badge>
This documentation is in progress. The parameters, fields, request and response bodies, and other data may be subject to change. If you need more information or you want to share feedback, contact Voucherify support or your Technical Account Manager.
</Info>Moves the reward to the INACTIVE status. Allowed only from ACTIVE status; other transitions are rejected with a conflict error. This endpoint takes no request body.
post/v2/loyalties/rewards/{rewardId}/deactivate
Path parameters
idstring required
Unique reward identifier, prefixed with lrew_.
Response
The deactivated reward.
Example response
{
"validity_hours": {
"daily": [
{
"start_time": "09:00",
"end_time": "17:00"
}
]
}
}