Update a voucher
Only the fields sent change. Null removes the holder cap or the expiry; the code cannot be null.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
The voucher’s id.
Request
This endpoint expects an object.
code
max_users
expires_at
Response
The object after the update.
id
code
voucher_group_id
created_at
updated_at
max_users
expires_at
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error