v1
latestOpenAPI 3.0.02026-07-247251950.2 KBVouchers
Update a voucher
Overview
Modify an existing voucher's settings, including discount values, validity periods, usage limits, and status.
When to Use
- Extend validity - Update voucher end dates
- Adjust discounts - Change discount values or types
- Update limits - Modify usage limits or minimum spend
- Status changes - Activate or deactivate vouchers
What You Get
- Confirmation - Success message when voucher is updated
- Updated voucher - Voucher reflects the new settings
Important Notes
- Read-only if used - Vouchers that have been used in bookings cannot be modified (returns 404)
- All fields required - Must provide all required fields, not just the ones you want to change
Quick Start
Provide the voucher ID and updated fields. Returns confirmation of the update.
put/vouchers/{id}
Path parameters
idinteger required
Unique identifier of the voucher to update
Request body
Response
Voucher updated successfully