報酬チェーンを作成します。
報酬チェーン。
required | object アイテム名のローカライズを行ったオブジェクトです。小文字の2文字言語コード。 | ||||||||||||||
required | object | ||||||||||||||
date_start required | string <date-time> Date when your reward chain starts. | ||||||||||||||
required | Array of objects | ||||||||||||||
Array
| |||||||||||||||
is_enabled required | boolean | ||||||||||||||
date_end | string or null <date-time> Date when your reward chain promotion ends. Can be | ||||||||||||||
object アイテムの説明用のローカライズされたオブジェクト。小文字の2文字言語コード. | |||||||||||||||
image_url | string or null 画像URL。 | ||||||||||||||
object アイテムの長い説明のためのローカライゼーションを持つオブジェクト。小文字の2文字言語コード。 | |||||||||||||||
order | integer 配列順序を定義します。 | ||||||||||||||
(interval_type = weekly (object or null)) or (interval_type = monthly (object or null)) Recurrent reset period of the reward chain. | |||||||||||||||
One of: Weekly type of reward chain refresh. |
Reward chain was successfully created.
基本認証が不合格または不正です。基本認証または正しい認証情報を使用したことを確認してください。
Invalid request.
{- "clan_type": "guild",
- "date_end": "2021-04-15T18:16:00+05:00",
- "date_start": "2020-04-15T18:16:00+05:00",
- "description": {
- "en": "Clan reward chain description."
}, - "is_enabled": true,
- "long_description": {
- "en": "Clan reward chain long description."
}, - "name": {
- "en": "Clan reward chain"
}, - "order": 1,
- "popup_header": {
- "en": "How to unlock rewards"
}, - "popup_instruction": {
- "en": "You must be a clan member to get clan rewards. You join a clan when a clan member invites you to the clan, and you accept the invite. You can also create your own clan."
}, - "recurrent_schedule": {
- "day_of_week": 1,
- "interval_type": "weekly",
- "time": "01:00:00+08:00"
}, - "steps": [
- {
- "name": {
- "en": "First step of the reward chain"
}, - "price": {
- "amount": 10
}, - "reward": [
- {
- "quantity": 5,
- "sku": "item_sku_1"
}, - {
- "quantity": 1,
- "sku": "item_sku_2"
}
]
}, - {
- "name": {
- "en": "Second step of the reward chain"
}, - "price": {
- "amount": 15
}, - "reward": [
- {
- "quantity": 5,
- "sku": "item_sku_3"
}, - {
- "quantity": 1,
- "sku": "item_sku_4"
}
]
}
], - "value_point": {
- "sku": "clan_value_point_sku_1"
}
}
{- "reward_chain_id": 10
}