Vouchers
Update voucher status
Overview
Quickly activate or deactivate a voucher without updating other fields. Perfect for temporarily disabling vouchers.
When to Use
- Temporary disable - Deactivate vouchers without deleting them
- Reactivate vouchers - Turn inactive vouchers back on
- Status management - Quickly toggle voucher availability
What You Get
- Confirmation - Success message confirming status change
- Updated status - Voucher status changed to active or inactive
Quick Start
Provide the voucher ID and the new status ("active" or "inactive"). Returns confirmation of the status update.
put/vouchers/{id}/status
Request
- Base URLhttps://da.liteapi.travel
- URLhttps://da.liteapi.travel/vouchers/{id}/status
- AuthAPI key in header X-Api-Key
Path parameters
idinteger required
Unique identifier of the voucher for which the status is being updated
Request body
Response
Voucher status updated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.