Creates reward chain.
project_id required | integer Projekt-ID. Dieser Parameter wird im Kundenportal neben dem Projektnamen angezeigt. Example: 44056 |
Eine Belohnungskette.
required | object Objekt mit lokalisierten Namen des Artikels. Sprachencode bestehend aus zwei Kleinbuchstaben. | ||||||||||||||||||||||||||||||||||||||||
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 Objekt mit lokalisierten Beschreibungen des Artikels. Sprachencode bestehend aus zwei Kleinbuchstaben. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
image_url | string or null Bild-URL. | ||||||||||||||||||||||||||||||||||||||||
object Objekt mit lokalisierten langen Beschreibungen des Artikels. Sprachencode bestehend aus zwei Kleinbuchstaben. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
order | integer Definiert die Anordnungsreihenfolge. | ||||||||||||||||||||||||||||||||||||||||
(interval_type = weekly (object or null)) or (interval_type = monthly (object or null)) Wiederkehrender Reset-Zeitraum der Belohnungskette. | |||||||||||||||||||||||||||||||||||||||||
One of: Belohnungskette wird wöchentlich zurückgesetzt.
|
Reward chain was successfully created.
Basisauthentifizierung nicht bestanden oder falsch. Prüfen Sie die Anmeldedaten und vergewissern Sie sich, dass Sie die Basisauthentifizierung verwenden.
Ungültige Anfrage.
{- "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
}