Name | Type | Description | Notes |
---|---|---|---|
Code | string | Coupon code | |
ActionType | string | Coupon discount type | |
ActionApplyTo | string | Defines where discount should be applied | |
ActionScope | string | Specify how discount should be applied. If scope=matching_items, then discount will be applied to each of the items that match action conditions. Scope order means that discount will be applied once. | |
ActionAmount | decimal | Defines the discount amount value. | |
Codes | List<string> | Entity codes | [optional] |
Name | string | Coupon name | [optional] |
DateStart | string | Date start | [optional] [default to "now"] |
DateEnd | string | Defines when discount code will be expired. | [optional] |
UsageLimit | int | Usage limit for coupon. | [optional] |
UsageLimitPerCustomer | int | Usage limit per customer. | [optional] |
ActionConditionEntity | string | Defines entity for action condition. | [optional] |
ActionConditionKey | string | Defines entity attribute code for action condition. | [optional] |
ActionConditionOperator | string | Defines condition operator. | [optional] |
ActionConditionValue | string | Defines condition attribute value/s. Can be comma separated string. | [optional] |
IncludeTax | bool | Indicates whether to apply a discount for taxes. | [optional] [default to false] |
StoreId | string | Store Id | [optional] |