Programs
Update program
<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>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.