Create Voucher
Create a new voucher.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The details required to create a voucher.
Short description about the voucher.
Available options:
percentage
, fixed
Example:
"percentage"
Unique code that will be shared with customers.
Discount amount.
Required range:
x >= 1
Max number of redeems.
Required range:
1 <= x <= 1000000
Expiration date in relative time. (e.g. 'In 3 days')