Client endpoint. Gets the current user’s reward chains.
project_id required | integer ID do projeto. Você pode encontrar esse parâmetro em sua Conta de Distribuidor ao lado do nome do projeto. Example: 44056 |
A cadeia de recompensas do usuário foi recuperada com sucesso.
{- "has_more": false,
- "items": [
- {
- "clan_type": null,
- "date_end": "2023-04-25T18:16:00+05:00",
- "date_start": "2023-04-15T18:16:00+05:00",
- "description": "Big weekly quest",
- "long_description": "You can get a lot of additional items just by shopping during the week",
- "name": "Weekly quest",
- "order": 1,
- "popup_header": null,
- "popup_image_url": null,
- "popup_instruction": null,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1746057600
}, - "reward_chain_id": 10,
- "steps": [
- {
- "is_claimed": true,
- "name": "Level 1",
- "price": {
- "amount": 100
}, - "reward": [
- {
- "description": "Super box with items",
- "name": "Super box",
- "quantity": 1,
- "sku": "box_1",
- "type": "bundle"
}, - {
- "description": "Mega box with items",
- "name": "Mega box",
- "quantity": 1,
- "sku": "box_2",
- "type": "bundle"
}
], - "step_id": 1
}, - {
- "is_claimed": false,
- "name": "Level 2",
- "price": {
- "amount": 200
}, - "reward": [
- {
- "description": "Super box with items",
- "name": "Super box",
- "quantity": 2,
- "sku": "box_1",
- "type": "bundle"
}, - {
- "description": "Mega box with items",
- "name": "Mega box",
- "quantity": 2,
- "sku": "box_2",
- "type": "bundle"
}
], - "step_id": 2
}
], - "top_contributors": null,
- "value_point": {
- "amount": 130,
- "description": null,
- "long_description": null,
- "name": "Value point",
- "sku": "value_point_1"
}
}, - {
- "clan_type": "guild",
- "date_end": "2023-10-15T18:16:00+05:00",
- "date_start": "2023-04-15T18:16:00+05:00",
- "description": "Major weekly clan quest.",
- "long_description": "You and your clan members can get additional items for shopping during a certain month.",
- "name": "Weekly clan quest",
- "order": 2,
- "popup_header": "How to unlock rewards",
- "popup_instruction": "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": {
- "interval_type": "monthly",
- "reset_next_date": 1746057600
}, - "reward_chain_id": 12,
- "steps": [
- {
- "is_claimed": true,
- "name": "Level 1",
- "price": {
- "amount": 100
}, - "reward": [
- {
- "description": "Super box with items",
- "name": "Super box",
- "quantity": 1,
- "sku": "box_1",
- "type": "bundle"
}, - {
- "description": "Mega box with items",
- "name": "Mega box",
- "quantity": 1,
- "sku": "box_2",
- "type": "bundle"
}
], - "step_id": 1
}, - {
- "is_claimed": false,
- "name": "Level 2",
- "price": {
- "amount": 200
}, - "reward": [
- {
- "description": "Super box with items",
- "name": "Super box",
- "quantity": 2,
- "sku": "box_1",
- "type": "bundle"
}, - {
- "description": "Mega box with items",
- "name": "Mega box",
- "quantity": 2,
- "sku": "box_2",
- "type": "bundle"
}
], - "step_id": 2
}
], - "top_contributors": [
- {
- "contributed_amount": 100,
- "name": "Rabbit"
}, - {
- "contributed_amount": 80,
- "name": "Rocket"
}, - {
- "contributed_amount": 40,
- "name": "Rain"
}
], - "value_point": {
- "amount": 80,
- "description": "Value points for clan reward system.",
- "long_description": "Value points given to clans to get new rewards in a reward chain.",
- "name": "Clan Reward VP 1",
- "sku": "clan_value_point_sku_1"
}
}
], - "total_items_count": 1
}