Update Voucher

Updates the specified voucher by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Updates a voucher. You can modify following fields: category, start_date, expiration_date, active, additional_info, metadata. Other fields than listed above won't be modified. Even if provided they will be silently skipped.

Returns

Returns the voucher object if the update succeeded. Returns an error if update parameters are invalid (e.g. specifying an invalid gift amount).

Language
Response
Click Try It! to start a request and see the response here!