Programs
Update program
<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>Updates a loyalty program. When the program is not in DRAFT status, only name and metadata may be changed (other properties are restricted after leaving draft).
put/v2/loyalties/programs/{programId}
Path parameters
idstring required
Unique program identifier.
Request body
Example request
{
"validity_hours": {
"daily": [
{
"start_time": "09:00",
"end_time": "17:00"
}
]
}
}Response
The updated program.