Update Progression Tier Rewards
PUT
https://api.lootlocker.io/admin/game/{game_id}/progressions/{progression_id}/tiers/{progression_tier_id}/rewards
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://api.lootlocker.io/admin/game//progressions/{{progression_id}}/tiers/01HXBWF0D2Z5C88BZD6NKK876M/rewards' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"progression_points_rewards": [
{
"progression_id": "01GJ34JX0VKJKM4P6X9JHZ8FDF",
"progression_key": "fighter",
"progression_name": "fighter",
"amount": 100
}
],
"progression_reset_rewards": [
{
"progression_id": "01GJ34K7QBEB124MVE8BCFPAMG",
"progression_key": "rogue",
"progression_name": "rogue"
}
],
"asset_rewards": [
{
"asset_id": 2,
"asset_variation_id": null,
"asset_rental_option_id": null
}
],
"currency_rewards": [
{
"currency_id": "01HEJHRJ85PB157YV2GMHP79W1",
"currency_name": "Gold",
"currency_code": "GLD",
"amount": "100"
}
]
}'
Response Response Example
{}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
progression_id
stringÂ
required
Example:
{{progression_id}}
progression_tier_id
stringÂ
required
Example:
01HXBWF0D2Z5C88BZD6NKK876M
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
Responses
Modified at 2024-05-15 13:07:32