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.

Path Params
integer
required

Unique identifier of the voucher to update

Body Params
string
required

A unique code for the new voucher. e.g. manhattan-holidays-100

string
required

Type of discount, such as percentage or points redemption

number
required

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

number
required

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

number
required

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

string
required

Currency of the discount

date
required

Updated start date of the voucher's validity

date
required

Updated end date of the voucher's validity

number
required

Updated usage limit for the voucher

string
required

Updated status of the voucher (e.g., active, inactive)

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json