Creates reward chain.
一个奖励链。
required | object 包含本地化商品名称的对象。两个小写字母的语言代码。 | ||||||||||||||
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> 奖励链促销活动的结束日期。可以是 | ||||||||||||||
object 包含本地化商品描述的对象。两个小写字母的语言代码。 | |||||||||||||||
image_url | string or null 图像URL。 | ||||||||||||||
object 包含本地化商品长描述的对象。两个小写字母的语言代码。 | |||||||||||||||
order | integer 定义排列顺序。 | ||||||||||||||
(interval_type = weekly (object or null)) or (interval_type = monthly (object or null)) 奖励链的重置周期。 | |||||||||||||||
已成功创建奖励链。
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
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
}