put
https://da.liteapi.travel/vouchers/
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.