| Name | Type | Description | Notes |
|---|---|---|---|
| code | string | Coupon code | |
| action_type | string | Coupon discount type | |
| action_apply_to | string | Defines where discount should be applied | |
| action_scope | 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. | |
| action_amount | float | Defines the discount amount value. | |
| codes | string[] | Entity codes | [optional] |
| name | string | Coupon name | [optional] |
| date_start | string | Date start | [optional] [default to 'now'] |
| date_end | string | Defines when discount code will be expired. | [optional] |
| usage_limit | int | Usage limit for coupon. | [optional] |
| usage_limit_per_customer | int | Usage limit per customer. | [optional] |
| action_condition_entity | string | Defines entity for action condition. | [optional] |
| action_condition_key | string | Defines entity attribute code for action condition. | [optional] |
| action_condition_operator | string | Defines condition operator. | [optional] |
| action_condition_value | string | Defines condition attribute value/s. Can be comma separated string. | [optional] |
| include_tax | bool | Indicates whether to apply a discount for taxes. | [optional] [default to false] |
| store_id | string | Store Id | [optional] |
| free_cash_on_delivery | bool | Defines whether the coupon provides free cash on delivery | [optional] |
| customer_id | string | Retrieves orders specified by customer id | [optional] |
| idempotency_key | string | A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong> | [optional] |