CreateVoucherTemplateInput
Request structure for creating a voucher template.
Fields
applicableCategories[Int!]RequiredapplicableVendors[Int!]RequiredautoApproveLimitDecimaldiscountValueDecimal!RequiredexcludedCategories[Int!]RequiredexcludedVendors[Int!]RequiredisActiveBoolean!RequiredmaxDiscountAmountDecimalminOrderValueDecimalrequiresApprovalBoolean!RequiredtemplateDescriptionStringtemplateNameString!RequiredtotalUsageLimitIntusageLimitPerUserIntvalidFromStringvalidUntilStringvoucherTypeVoucherTemplateType!Required
Categories where this voucher applies.
Vendors where this voucher applies.
Auto-approve vouchers below this amount.
Discount value.
Categories where this voucher is excluded.
Vendors where this voucher is excluded.
Whether the template is active.
Maximum discount amount that can be applied.
Minimum order value required.
Whether voucher generation requires approval.
Optional description of the template.
Name of the template.
Total usage limit across all vouchers from this template.
Maximum times each user can use vouchers from this template.
Valid from date (ISO datetime string).
Valid until date (ISO datetime string).
Type of voucher (percentage, fixed amount, or buy X get Y).
Built with