Game API
HomeLootLocker
HomeLootLocker
LootLocker
  1. Heroes
  • Game API
  • Authentication
    • Guest Session
      POST
    • White Label Session
      POST
    • Steam Session
      POST
    • Epic Games Session
      POST
    • Apple Sign In Session
      POST
    • Apple Game Center Session
      POST
    • Google Session
      POST
    • Nintendo Switch Session
      POST
    • Xbox Session
      POST
    • Meta/Oculus Session
      POST
    • PSN Player Verification
      POST
    • Steam/PSN Session
      POST
    • End Session
      DELETE
    • Steam Player Verification
      POST
  • Unified Player Accounts
    • Connected Accounts
      • List Connected Accounts
      • Connect Google Account
      • Connect Twitch Account
      • Connect Apple Account
      • Attach Provider
      • Transfer Providers
      • Unlink Platform Provider
    • Begin Remote Session Login Lease
    • Begin Remote Session Link Lease
    • Poll Remote Session Lease
    • Refresh Remote Session
  • White Label Login
    • Sign Up
    • Sign In
    • Request Verification
    • Request Reset Password
    • Verify Session
  • Players
    • Files
    • Player Storage
      • Get Player Storage
      • Get Player Storage Single Item
      • Get Player Public Storage
      • Update Player Storage
      • Lookup Public Player Storage
      • Delete Player Storage Item
    • Get Info From Session
    • List Multiple Players Info
    • Lookup Player Names by IDS
    • Get Players Active Name
    • Set Player Name
    • Migrate DLCs
    • Get Migrated DLCs
    • Set Player Profile Private
    • Set Player Profile Public
    • Get Other Players Loadout for Default Character
    • Get Players Loadout for Default Character
    • Delete Player
    • Submit XP
    • Get Other Player Info
    • Get Player Info
    • Get Multiple Other Players XP And Level
  • Notifications
    • List Notifications
    • Read Notifications
    • Read All Notifications
  • Commerce
    • Currency
      • Get Currency By Code
      • List Currencies
      • List Denominations By Currency
    • Purchasing
      • Stores
        • Google Play Store
          • Google Play Player Product Purchase
          • Google Play Character Product Purchase
        • Apple App Store
          • Apple App Store - Player Purchase
          • Apple App Store - Character Purchase
        • Steam
          • Steam - Begin Purchase
          • Steam - Query Transaction
          • Steam - Finalise Transaction
      • Purchase - In Game Only
      • Get Player Balance
      • Purchase - Get Status
      • Get Order Details
      • Purchase - Soft Currency Spend
      • Purchase - Steam Hard Currency
      • Purchase - Android
      • Purchase - iOS
    • Balances
      • Credit Balance
      • Debit Balance
      • List Balances
      • Get Wallet
      • Get Wallet for Holder
      • Create New Wallet
    • Catalogs
      • List Catalogs For Game
      • List Catalog Items By Key
  • Entitlements
    • List Entitlements
    • Get Single Entitlement
  • Leaderboards
    • Get Score List
    • Submit Score
    • Get Member Rank
    • Get By List of Members
    • List Leaderboards
    • Get Leaderboard Details
    • List Historical Leaderboard Data
    • Get Historical Leaderboard Data
  • Characters & Heroes
    • Characters
      • List Equippable Contexts to Default Character
      • List Equippable Contexts to Character By ID
      • Update Character
      • List Character Types
      • List Characters
      • Create Character
      • Get Loadout For All Player Characters
      • Get Loadout For Player Characters By Platform ID
      • Equip Asset To Character
      • Unequip Asset To Character
      • Equip Asset To Default Character
      • Unequip Asset To Default Character
    • Heroes
      • Get Game Heroes
        GET
      • Create Player Hero
        POST
      • List Player Heroes
        GET
      • Get Player Hero
        GET
      • Update Player Hero
        PUT
      • Delete Player Hero
        DELETE
      • List Player Hero Inventory
        GET
      • Get Default Player Hero By SteamID64
        GET
      • List Player Heroes By SteamID64
        GET
      • List Player Heros Loadout By ID
        GET
      • Get Player Hero Loadout
        GET
      • Equip Asset to Hero
        POST
      • Unequip Asset from Hero
        DELETE
  • Assets
    • Drop Tables
      • Compute and Lock Drop Table
      • Pick Drops
    • List Contexts
    • Get Assets Stream
    • Get Assets List
    • Get Assets List By Asset IDs
    • List Favourite Assets
    • Unfavourite Asset
    • Favourite Asset
  • Asset Instances
    • Storage
      • Stream All Instance Storage To Player
      • Get Key Value for Asset Instance and Key Value Pair ID
      • List Key Value Sets for Asset Instance
      • Create Key Value Pair
      • Update Item Storage By Keys
      • Update Item Storage By ID
      • Delete Item Storage By ID
    • Loot Box
      • Inspect Loot Box
      • Open Loot Box
    • List Universal Assets
    • List Player Inventory
    • Stream Player Inventory
    • Get Asset Grant Notifications
    • Activate Rental Asset
    • Delete asset from player's inventory
    • Grant asset to player
  • Triggers
    • Call
    • Execute Trigger
    • List Triggers For Player
  • Progressions
    • Tiers
      • Get Progression Tiers
      • Get Single Progression Tier By Step
    • Players
      • Get All Player Progressions
      • Get All Player Progressions By Player ULID
      • Get Player Progressions By Key
      • Get Player Progressions By Key and Player ULID
      • Add points to player progression
      • Subtract points from player progression
      • Reset player progression
      • Delete player progression
    • Characters
      • Get All Character Progressions
      • Get Character Progressions By Key
      • Add points to character progression
      • Subtract points from character progression
      • Reset character progression
      • Delete character progression
    • Asset Instances
      • Get All Asset Instance Progressions
      • Get Asset Instance Progressions By Key
      • Add points to an Asset Instance progression
      • Subtract points from an Asset Instance progression
      • Reset Asset Instance progression
      • Delete Asset Instance progression
    • Get All Progressions
    • Get Progression By Key
  • Messages
    • List Messages
  • Friends
    • Followers
      • List
      • Follow
      • Unfollow
    • List Friends
    • List Incoming Friend Requests
    • List Outgoing Friend Requests
    • Send Friend Request
    • Cancel Outgoing Friend Request
    • Accept Friend Request
    • Decline Friend Request
    • Delete Friend
    • List Blocked Players
    • Block Player
    • Unblock Player
  • Feedback
    • Category
      • List
    • Moderation Reporting
      • [Legacy] Report Player
      • [Legacy] Report Asset
      • [Legacy] Get Player Report Reasons
      • [Legacy] Get Asset Report Reasons
      • [Legacy] Get Asset Report Types
      • Get Removed UGC for Player
    • Create
  • Metadata
    • List Metadata
    • Metadata Operations
    • List Multisource Metadata
  • User Generated Content (UGC)
    • Asset Candidates
      • Get Asset Candidate
      • List Asset Candidates
      • Create Asset Candidate
      • Add File to Asset Candidate
      • Update Asset Candidate
      • Delete Asset Candidate
  • Game
    • Ping
  • Collectables
    • Collect Collectable Item
    • List Collectables
  • Missions
    • Get Mission
    • List Missions
    • Start Mission
    • Finish Mission
  • Broadcasts
  1. Heroes

Equip Asset to Hero

POST
/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 'Content-Type: application/json' \
--header 'x-session-token;' \
--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

Authorization
API Key
Add parameter in header
x-session-token
Example:
x-session-token: ********************
Path Params
player_hero_id
string 
required
Example:
2
Header Params
x-session-token
string 
required
Example:
{{session_token}}
Body Params application/json
asset_id
integer 
required
Examples

Responses

🟢200OK
application/json
Body
success
boolean 
required
loadout
array [object {5}] 
required
variation_id
integer 
optional
instance_id
integer 
optional
mounted_at
string 
optional
asset
object (Asset) 
optional
rental
object 
optional
Modified at 2025-01-23 21:09:46
Previous
Get Player Hero Loadout
Next
Unequip Asset from Hero
Built with