curl --request PUT \
--url https://{cluster}.voucherify.io/v2/loyalties/rewards/{rewardId} \
--header 'Content-Type: application/json' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>' \
--data '
{
"purchase_limits": {
"cooldown": {
"type": "FIXED_COOLDOWN",
"fixed_cooldown": {
"period": {
"value": 1,
"unit": "DAY"
}
}
},
"frequency": {
"type": "LIMITED",
"limits": [
{
"type": "TIME_BASED",
"period": {
"type": "CURRENT_PERIOD",
"current_period": {
"unit": "DAY"
}
},
"triggers": {
"max": 1
}
}
]
}
}
}
'{
"id": "lrew_12cad1abefa2311e10",
"name": "Daily coffee voucher",
"type": "MATERIAL",
"status": "DRAFT",
"start_date": null,
"end_date": null,
"validity_hours": {
"type": "ANY_TIME"
},
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_0ba649b6893cf33a80"
}
},
"refunds": {
"type": "NONE"
},
"costs": [
{
"id": "lrcst_12cad1abefa2311e11",
"spending": [
{
"id": "lrspn_12cad1abefa2311e12",
"name": "Standard cost",
"points": 100,
"card_definition_id": "lcdef_128f495f720c4bec8c"
}
]
}
],
"purchase_limits": {
"cooldown": {
"type": "FIXED_COOLDOWN",
"fixed_cooldown": {
"period": {
"value": 1,
"unit": "DAY"
}
}
},
"frequency": {
"type": "LIMITED",
"limits": [
{
"type": "TIME_BASED",
"period": {
"type": "CURRENT_PERIOD",
"current_period": {
"unit": "DAY"
}
},
"triggers": {
"max": 1
}
}
]
}
},
"metadata": {},
"created_at": "2026-07-27T16:09:59.999Z",
"updated_at": "2026-07-28T10:00:00.000Z",
"object": "reward"
}Update reward
Updates an existing reward. This is a partial update: properties you don’t send keep their current values.
The body must include at least one property that the update applies. An empty body fails with 400. So does a body whose only properties are null values for validity_hours, refunds, material, or digital that are ignored (see below).
Rules for the properties you send:
type: can only be changed inDRAFTstatus. WhentypeisMATERIAL,materialis required anddigitalmust benull. WhentypeisDIGITAL,digitalis required andmaterialmust benull. Sendtypetogether withmaterialordigital.material,digital,validity_hours, andpurchase_limitsreplace the stored object as a whole. They are not merged. Inpurchase_limits, an omittedcooldownorfrequencyresets to its default (no cooldown or no limit).costsreplaces the whole array. A cost with theidof a stored cost updates that cost. A cost without anidis created. A stored cost left out of the array is deleted.metadatais merged. Keys you send are added or overwritten (a nested object under a key is replaced as a whole), and other keys are kept.
How null works:
name,type, andcostscannot benull. The request fails with400.start_dateandend_date:nullremoves the date.validity_hoursandrefunds:nullis treated as not sent and keeps the current value. To set validity back to any time, sendvalidity_hourswithtypeset toANY_TIME.materialanddigital: withouttype,nullis treated as not sent. Withtype, the object for the other type must benulland is cleared.purchase_limits:nullresets it to no cooldown and no limit.metadata:nullremoves all metadata. The request fails with400if the project’s metadata schema for rewards requires properties.
This endpoint cannot change status. Use the Activate reward, Deactivate reward, or Move reward back to draft endpoints. Sending status fails with 400.
In DRAFT status, all properties can be updated. In ACTIVE/INACTIVE status only the following properties can be updated: name, metadata, refunds, validity_hours, start_date, end_date, costs, purchase_limits.
A successful call records vl.reward.updated.
curl --request PUT \
--url https://{cluster}.voucherify.io/v2/loyalties/rewards/{rewardId} \
--header 'Content-Type: application/json' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>' \
--data '
{
"purchase_limits": {
"cooldown": {
"type": "FIXED_COOLDOWN",
"fixed_cooldown": {
"period": {
"value": 1,
"unit": "DAY"
}
}
},
"frequency": {
"type": "LIMITED",
"limits": [
{
"type": "TIME_BASED",
"period": {
"type": "CURRENT_PERIOD",
"current_period": {
"unit": "DAY"
}
},
"triggers": {
"max": 1
}
}
]
}
}
}
'{
"id": "lrew_12cad1abefa2311e10",
"name": "Daily coffee voucher",
"type": "MATERIAL",
"status": "DRAFT",
"start_date": null,
"end_date": null,
"validity_hours": {
"type": "ANY_TIME"
},
"material": {
"type": "PRODUCT",
"product": {
"id": "prod_0ba649b6893cf33a80"
}
},
"refunds": {
"type": "NONE"
},
"costs": [
{
"id": "lrcst_12cad1abefa2311e11",
"spending": [
{
"id": "lrspn_12cad1abefa2311e12",
"name": "Standard cost",
"points": 100,
"card_definition_id": "lcdef_128f495f720c4bec8c"
}
]
}
],
"purchase_limits": {
"cooldown": {
"type": "FIXED_COOLDOWN",
"fixed_cooldown": {
"period": {
"value": 1,
"unit": "DAY"
}
}
},
"frequency": {
"type": "LIMITED",
"limits": [
{
"type": "TIME_BASED",
"period": {
"type": "CURRENT_PERIOD",
"current_period": {
"unit": "DAY"
}
},
"triggers": {
"max": 1
}
}
]
}
},
"metadata": {},
"created_at": "2026-07-27T16:09:59.999Z",
"updated_at": "2026-07-28T10:00:00.000Z",
"object": "reward"
}Authorizations
Path Parameters
Body
Request body schema for PUT /v2/loyalties/rewards/{rewardId}.
Response
The updated reward.
Response body schema for PUT /v2/loyalties/rewards/{rewardId}.

