put_vouchers_id
Update an existing travel voucher's discount, validity, usage limits, or status by providing its ID and revised fields; used vouchers cannot be changed.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the voucher to update | |
| budget | No | Total monetary pool the voucher can distribute across all redemptions, in the voucher's currency. If not set or 0, there is no monetary limit and usage is only controlled by usages_limit. When set, budget and usages_limit act as independent limits — whichever is exhausted first will reject the voucher. | |
| status | Yes | Updated status of the voucher (e.g., active, inactive) | |
| currency | Yes | Currency of the discount | |
| usages_limit | Yes | Updated usage limit for the voucher | |
| validity_end | Yes | Updated end date of the voucher's validity | |
| voucher_code | Yes | A unique code for the new voucher. e.g. manhattan-holidays-100 | |
| discount_type | Yes | Type of discount, such as percentage or points redemption | |
| minimum_spend | Yes | Minimum rate to apply the discount voucher in the voucher currency. e.g. a minimum_spend of USD$100 will only apply for bookings with a price USD$100 or more | |
| discount_value | Yes | Value of the discount applied by the voucher. For percentage discounts, a value of 10 represents a 10% discount. For points_redemption, it indicates the fixed amount of points to be redeemed e.g. 10 equals 10 points | |
| validity_start | Yes | Updated start date of the voucher's validity | |
| maximum_discount_amount | Yes | Maximum discount amount that can be applied using the voucher in voucher currency. e.g. a with a maximum_discount_amount of 50 in USD, will discount from 0 to USD$50 |