Updates particular reward chain.
一个奖励链。
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)) 奖励链的重置周期。 | |||||||||||||||||
Reward chain was successfully updated.
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
未找到奖励链。
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 should be a clan member to get clan rewards. You join a clan when a clan member invited you to the clan, and you accepted the invite. You can 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"
}
], - "step_id": 1
}, - {
- "name": {
- "en": "Second step of the reward chain"
}, - "price": {
- "amount": 15
}, - "reward": [
- {
- "quantity": 5,
- "sku": "item_sku_3"
}, - {
- "quantity": 1,
- "sku": "item_sku_4"
}
], - "step_id": 2
}
]
}
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}