CreateVoucherTemplateRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| template_name | String | Name of the template. | [default to null] |
| template_description | String | Optional description of the template. | [optional] [default to null] |
| voucher_type | VoucherTemplateType | Type of voucher (percentage, fixed amount, or buy X get Y). | [default to null] |
| discount_value | Double | Discount value. | [default to null] |
| min_order_value | Double | Minimum order value required. | [optional] [default to null] |
| max_discount_amount | Double | Maximum discount amount that can be applied. | [optional] [default to null] |
| usage_limit_per_user | Integer | Maximum times each user can use vouchers from this template. | [optional] [default to null] |
| total_usage_limit | Integer | Total usage limit across all vouchers from this template. | [optional] [default to null] |
| valid_from | String | Valid from date (ISO datetime string). | [optional] [default to null] |
| valid_until | String | Valid until date (ISO datetime string). | [optional] [default to null] |
| applicable_categories | List | Categories where this voucher applies. | [optional] [default to null] |
| applicable_vendors | List | Vendors where this voucher applies. | [optional] [default to null] |
| excluded_categories | List | Categories where this voucher is excluded. | [optional] [default to null] |
| excluded_vendors | List | Vendors where this voucher is excluded. | [optional] [default to null] |
| requires_approval | Boolean | Whether voucher generation requires approval. | [default to null] |
| auto_approve_limit | Double | Auto-approve vouchers below this amount. | [optional] [default to null] |
| is_active | Boolean | Whether the template is active. | [default to null] |