string
required
Bearer token with
marketing:write scopestring
required
The voucher ID
Request body
All fields are optional. Only provided fields will be updated.string
Voucher status:
pending, active, depleted, expired, cancelled, suspendedstring
Customer ID (or null to unassign)
string
ISO 8601 expiry datetime (or null to remove)
boolean
Whether voucher can be used by different customers
object
Custom metadata (or null to remove)
Response
Returns the updated voucher object.Request
Response