Skip to Content
DocumentationAPI ReferenceBusiness APIModelsCreate Enterprise Voucher Request

CreateEnterpriseVoucherRequest

Properties

NameTypeDescriptionNotes
codeStringUnique voucher code.[default to null]
nameStringDisplay name of the voucher.[default to null]
descriptionStringOptional description of the voucher.[optional] [default to null]
discount_typeStringType of discount (percentage or fixed_amount).[default to null]
discount_valueDoubleDiscount value (percentage or amount).[default to null]
currency_codeStringCurrency code for the voucher.[default to null]
min_order_amountDoubleMinimum order amount required to use the voucher.[optional] [default to null]
max_discount_amountDoubleMaximum discount amount that can be applied.[optional] [default to null]
usage_limitIntegerTotal number of times the voucher can be used.[optional] [default to null]
user_usage_limitIntegerMaximum number of times each user can use the voucher.[optional] [default to null]
start_dateStringVoucher validity start date.[optional] [default to null]
end_dateStringVoucher validity end date.[optional] [default to null]
template_idLongOptional ID of the template this voucher was generated from.[optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]