required | |
Array sku required | string Default: "elven_sword" |
|
required | |
percent required | string Default: "10.00" Percent discount.
The price of item will be decreased using a value calculated by using this percent and then rounded to 2 decimal places.
|
|
required | object Name of promotion. Should contain key/value pairs,
where key is locale with format "^[a-z]{2}-[A-Z]{2}$", 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 .
|
| Array of type = string (objects) or Array of type = date (objects) or Array of type = number (objects) |
One of: Conditions which are compared to user attribute values.
All conditions must be met for the action to take an effect.
[ 1 .. 100 ] items Array ([ 1 .. 100 ] items) attribute required | string [ 1 .. 255 ] characters ^[-_.\\d\\w]+$ | operator required | string Type of operation performed by condition. For string attribute type.
Enum: | Description |
---|
eq | Equals
| ne | Not equals
|
| value required | string <= 255 characters Condition value which user attribute value will be compared to. Type depends on attribute type.
| type required | |
|
| |
per_user | integer or null Promotion limitation for a separate user.
| | | | interval_type = daily (object) or interval_type = weekly (object) or interval_type = monthly (object) | One of: Daily type of user limits refresh.
interval_type required | string Recurrent refresh period.
Value: "daily" | time required | string((0[0-9]|1[0-9]|2[0-3]):00:00)(\+|-)(0[0-9]|1... Time of limit refresh in the desired time zone (rounding to hours).
|
|
|
|