Create a voucher
Create a code in one of your voucher groups. The code is unique among your vouchers.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
code
voucher_group_id
max_users
expires_at
Response
The created object.
id
code
voucher_group_id
created_at
updated_at
max_users
expires_at
Errors
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