更新特定奖励链。
一个奖励链。
required | (two-letter (object or null)) or (five-letter (object or null)) 包含商品本地化名称的对象。值接受以下两种格式之一:两个小写字母的语言代码(例如, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
One of: 两个小写字母的语言代码。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
date_start required | string <date-time> 奖励链的开始日期。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
is_enabled required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||
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)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
date_end | string or null <date-time> 奖励链促销活动的结束日期。可以是 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
(two-letter (object or null)) or (five-letter (object or null)) 包含本地化商品描述的对象。值接受以下两种格式之一:两个小写字母的语言代码(例如, | |||||||||||||||||||||||||||||||||||||||||||||||||||||
One of: 两个小写字母的语言代码。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
image_url | string or null 图像URL。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
is_always_visible | boolean Default: true 奖励链是否对所有用户可见:
仅适用于存在个性化奖励链的前提,并在未传递 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
(two-letter (object or null)) or (five-letter (object or null)) 包含商品详细本地化描述的对象。值接受以下两种格式之一:两个小写字母的语言代码(例如, | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of: 两个小写字母的语言代码。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
order | integer 定义排列顺序。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
(interval_type = weekly (object or null)) or (interval_type = monthly (object or null)) 奖励链的重置周期。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
已成功更新奖励链。
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
未找到奖励链。
无效请求。
{- "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": "com.xsolla.item_1"
}, - {
- "quantity": 1,
- "sku": "com.xsolla.item_2"
}
], - "step_id": 1
}, - {
- "name": {
- "en": "Second step of the reward chain"
}, - "price": {
- "amount": 15
}, - "reward": [
- {
- "quantity": 5,
- "sku": "com.xsolla.item_3"
}, - {
- "quantity": 1,
- "sku": "com.xsolla.item_4"
}
], - "step_id": 2
}
]
}
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}