external_id required | string Default: "coupon_external_id" Unique promotion ID. The external_id may only contain lowercase Latin alphanumeric characters, periods, dashes, and underscores.
|
required | object Default: {"en-US":"Coupon title","de-DE":"Gutscheintitel"} Name of promotion. Should contain key/value pairs
where key is a locale with "^[a-z]{2}-[A-Z]{2}$" format, value is string.
|
property name* additional property | |
|
date_start | string or null <date-time> Default: "2020-04-15T18:16:00+05:00" Date when your promotion will be started.
|
date_end | string or null <date-time> Default: "2020-04-15T18:16:00+05:00" Date when your promotion will be finished. Can be null . If date_end is null , promotion will be unlimited by time.
|
| |
Array sku | string Default: "elven_shield" | quantity | |
|
redeem_total_limit | integer or null Default: 10 Limits total numbers of coupons.
|
redeem_user_limit | integer or null Default: 10 Limits total numbers of coupons redeemed by single user.
|
redeem_code_limit | integer or null Default: 10 Number of redemptions per code.
|
| |
percent | string or null Default: "10.00" Percent discount.
The price of cart will be decreased using a value calculated by using this percent and then rounded to 2 decimal places.
|
|
| Array of objects or null List of items that are discounted by a promo code.
|
Array sku required | string Default: "elven_shield" | required | | percent required | string Default: "10.00" Percent discount.
The price of cart item will be decreased using a value
calculated by using this percent and then rounded
to 2 decimal places.
|
|
|