Equip Asset to Hero
POST
https://api.lootlocker.com/game/v1/player/heroes/{player_hero_id}/loadout
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/v1/player/heroes/2/loadout' \
--header 'x-session-token: ' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"instance_id": 33
}'
Response Response Example
{
"success": true,
"loadout": [
{
"variation_id": 0,
"instance_id": 33,
"mounted_at": "2024-09-18T14:04:55+00:00",
"asset": {
"id": 64,
"uuid": "0b8daa57-5e38-4847-8d14-a3c7a195e10c",
"ulid": "01J08QPMZP3B6ZJ1PGQW9H3HMN",
"name": "Test 1",
"active": true,
"purchasable": false,
"price": 0,
"sales_price": null,
"display_price": null,
"context": "Customization",
"context_id": 424,
"character_classes": [
72,
74
],
"unlocks_context": null,
"detachable": true,
"updated": "Thu, 13 Jun 2024 12:03:37 +0000",
"marked_new": "Thu, 13 Jun 2024 12:03:33 +0000",
"default_variation_id": 0,
"default_loadouts": {
"Test 2": true,
"Test": false
},
"description": "",
"links": null,
"storage": [],
"rarity": null,
"popular": false,
"popularity_score": 0,
"package_contents": null,
"unique_instance": false,
"external_identifiers": null,
"rental_options": null,
"filters": [],
"files": [],
"data_entities": [],
"hero_equip_exceptions": [],
"asset_candidate": null,
"drop_table_max_picks": null
},
"rental": {
"is_rental": false,
"time_left": null,
"duration": null,
"is_active": null
}
}
]
}
Request
Path Params
player_hero_id
stringÂ
required
Example:
2
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Body Params application/json
Responses
Modified at 2025-01-23 21:09:46