← API Index


CreatedVoucher (v1)

An individual voucher code created for a voucher item

# Field Type Description
0 item_id int the voucher item the code belongs to
1 code string voucher code
2 customer_id int customer the code is bound to, 0 if it can be used by anyone
3 valid_until date last day the code can be used, empty if it does not expire

Used in endpoints