Optionaldiscount_The discount amount set for this particular voucher. Only fill in when you are creating a fix amount voucher.
Optionaldisplay_The FE channel where the voucher will be displayed. The available values are: 1: display_all 3: feed, 4: live streaming, [] (empty - which is hidden).
Optionaldisplay_The timing of when voucher is displayed on shop pages; so buyer is allowed to claim.display_start_time must be left empty if the display_channel_list is empty (when voucher is hidden), otherwise it will show error.
The timing until when the voucher is still valid. Any time after this end_time, buyer is not allowed to claim or to use.
Optionalitem_The list of items which is applicable for the voucher. Only fill in when you are creating a product type of voucher.
Optionalmax_The max amount of discount/value a user can enjoy by using this particular voucher. Only fill in when you are creating a discount percentage voucher or coins cashback voucher.If no cap limit, can set to be 0.
The minimum spend required for using this voucher.
OptionalpercentageThe discount percentage set for this particular voucher. Only fill in when you are creating a discount percentage voucher or coins cashback voucher.
The reward type of the voucher. The available values are: 1: fix_amount voucher, 2: discount_percentage voucher, 3: coin_cashback voucher.
The timing from when the voucher is valid; so buyer is allowed to claim and to use. Field can only be updated if voucher has not started.
The number of times for this particular voucher could be used.
The code of the voucher.
The name of the voucher.
The type of the voucher. The available values are: 1: shop voucher, 2: product voucher.
Request parameters for add_voucher
Add voucher