프로모션은 사용자가 구매한 구매 항목에 무료 보너스 아이템을 추가합니다.
프로모션은 프로젝트 내의 모든 구매 또는 특정 아이템을 포함하는 구매에 적용할 수 있습니다.
SecuritybasicAuth
Request
path Parameters
project_id
required
integer
프로젝트 ID. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다.
Example: 44056
Request Body schema: application/json
required
Array of objects or null
프로모션을 적용하기 위해 구매 항목에 포함되어야 하는 아이템 세트입니다. 이 매개 변수가 null이면 프로젝트 내의 모든 구매 항목에 프로모션이 적용됩니다.
Array
sku
string
Default: "elven_sword"
아이템 SKU입니다.
required
Array of objects or null
Array
quantity
number
Default: 1
아이템 수량입니다.
sku
string
Default: "elven_shield"
아이템 SKU입니다.
required
object
프로모션의 이름입니다. 키가 "^[a-z]{2}-[A-Z]{2}$" 형식의 로케일인 키/값 쌍을 포함해야 하며 값은 문자열입니다.
property name*
additional property
string
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)