conditionrequired
Array of objects or null
プロモーションを適用するために、購入に含める必要があるアイテムのセット。このパラメータがnull
である場合、プロジェクト内のすべての購入にプロモーションが適用されます。
Array
skustring
Default: "elven_sword"
bonusrequired
Array
quantity skustring
Default: "elven_shield"
namerequired
object
プロモーション名。キーと値のペアを含む必要があります。キーは"^[a-z]{2}-[A-Z]{2}$"フォーマットのロケール、値は文字列です。
property name*additional property
attribute_conditionsArray of type = string (objects) or Array of type = date (objects) or Array of type = number (objects)
One of: type = string type = date type = number
ユーザー属性値と比較される条件。
動作が有効になるためには、すべての条件が満たされなければなりません。
[ 1 .. 100 ] items Array ([ 1 .. 100 ] items)
attributerequired
string [ 1 .. 255 ] characters ^[-_.\\d\\w]+$
operatorrequired
string
条件によって実行される操作のタイプ。string
属性タイプの場合。
Enum: Description eq イコール
ne ノットイコール
valuerequired
string <= 255 characters
ユーザー属性値の比較対象となる条件値。ライプは属性タイプに依存します。
typerequired
can_be_missingboolean
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_endstring or null <date-time>
Default: "2020-04-15T18:16:00+05:00"
プロモーションが終了する日付。null
にすることができます。 date_end
がnull
の場合、プロモーションは時間無制限となります。
date_startstring or null <date-time>
Default: "2020-04-15T18:16:00+05:00"
idinteger
プロモーションID。プロジェクト内での一意のプロモーション識別子。
limits per_user recurrent_schedule per_userinterval_type = daily (object) or interval_type = weekly (object) or interval_type = monthly (object)
One of: interval_type = daily interval_type = weekly interval_type = monthly
interval_typerequired
timerequired
string ((0[0-9]|1[0-9]|2[0-3]):00:00)(\+|-)(0[0-9]|1... Show pattern
希望するタイムゾーンでのリミットの更新時刻(時間単位で四捨五入)。