Array of type = string (objects) or Array of type = date (objects) or Array of type = number (objects)
One of:
与用户属性值进行比较的条件。
必须满足所有条件操作才生效。
[ 1 .. 100 ] items
Array ([ 1 .. 100 ] items)
attribute
required
string [ 1 .. 255 ] characters ^[-_.\\d\\w]+$
用户属性代码。
operator
required
string
按条件执行的操作类型。用于string属性类型。
Enum:
Description
eq
等于
ne
不等于
value
required
string <= 255 characters
与用户属性值进行比较的条件值。类型取决于属性类型。
type
required
string
用户属性类型。
Value:"string"
can_be_missing
boolean
Indicates that the condition is met even if attribute is missing from user attributes. Pass true to show the item to users who don't have this attribute. Users who have the attribute, but the value does not match that specified in the condition, will not see the item. False — users who have the attribute, but the value does not match that specified in the condition, or the attribute is missing, will not see the item.
date_end
string or null <date-time>
Default: "2020-04-15T18:16:00+05:00"
促销活动结束日期。可以是null。如果date_end为null,则促销活动无时间限制。
date_start
string or null <date-time>
Default: "2020-04-15T18:16:00+05:00"
促销活动开始日期。
id
integer
促销活动ID。项目内的唯一促销活动标识符。
object
促销活动限制。
per_user
integer or null
针对单独用户的促销活动限制。
object or null
限制次数刷新周期。
interval_type = daily (object) or interval_type = weekly (object) or interval_type = monthly (object)