Skip to main content
Update voucher metadata and settings. To modify the balance, use the redeem or refund endpoints.
string
required
Bearer token with marketing:write scope
string
required
The voucher ID

Request body

All fields are optional. Only provided fields will be updated.
string
Voucher status: pending, active, depleted, expired, cancelled, suspended
string
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

Errors