Server API
HomeLootLocker
HomeLootLocker
LootLocker
  1. Inventories
  • Session
    • Session
      POST
    • Ping
      GET
  • Leaderboards
    • Schedules
      • Create
      • Delete
      • Get
    • Rewards
      • Create
      • Delete
    • Archives
      • Download
      • List
    • Get Leaderboard
      GET
    • Create Leaderboard
      POST
    • Update Leaderboard
      PUT
    • Delete Leaderboard
      DELETE
    • Submit Score
      POST
    • Get All Member Ranks
      GET
    • Get Score List
      GET
  • Assets
    • Get Assets
      GET
  • Asset Instances
    • Get All Storage To Asset Instance
      GET
    • Get Storage Pair by ID
      GET
    • Create Storage Pair on Asset Instance
      POST
    • Update Storage Pairs by Key on Instance
      PUT
    • Update Storage Pair by ID on Instance
      PUT
    • Delete Storage Pair by ID on Instance
      DELETE
  • Triggers
    • Invoke Trigger
  • Inventories
    • List Player Inventory
      GET
    • Get Character Inventory
      GET
    • Get Hero Inventory
      GET
    • Alter Player Inventory
      PATCH
    • Add Asset to Player Inventory
      POST
    • List Universal Assets
      GET
  • Loadouts
    • Get Player Loadout
    • Equip Asset for Player Loadout
    • Unequip Asset for Player Loadout
    • Get Character Loadout
    • Equip Asset for Character Loadout
    • Unequip Asset for Character Loadout
    • Get Hero Loadout
    • Equip Asset for Hero Loadout
    • Unequip Asset for Hero Loadout
  • Characters & Heroes
    • Get Player Characters
    • Get Player Heroes
  • Player Storage
    • Get Player Storage
    • Lookup keys for Multiple Players
    • Delete for Multiple Players
    • Set for Multiple Players
  • Player Files
    • List Files for Player
    • Get File By ID for Player
    • Delete File By ID for Player
    • Upload File For Player
  • Drop Tables
    • Compute and Lock Drop Table
    • Pick Drops
  • Loot Boxes
    • Inspect Loot Box
    • Open Loot Box
  • Player
    • Get Player Info By Game Session Tokens
    • Create Player
    • Lookup Player Names by IDs
  • Progressions
    • Tiers
      • Get Progression Tiers
      • Get Single Progression Tier By Step
    • Players
      • Get All Player Progressions
      • Get Player Progressions By ID
      • 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 ID
      • 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 ID
      • Add points to Asset Instance progression
      • Subtract points from Asset Instance progression
      • Reset Asset Instance progression
      • Delete Asset Instance progression
    • Get All Progressions
    • Get Progression By Key
  • Balances
    • Create Wallet Modifiers
    • Credit Balance
    • Debit Balance
    • List Balances
    • Create New Wallet
    • Get Wallet
    • Get Wallet for Holder
  • Currency
    • List Currencies
  • Friends
    • List Friends
  • Metadata
    • Metadata Actions
    • List Metadata
    • List Multisource Metadata
  • Catalogs
    • List Catalog Items By Key
  • Notifications
    • Send Notification to Player
  1. Inventories

List Player Inventory

GET
https://api.lootlocker.io/server/player/{player_id}/inventory
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.io/server/player/361/inventory' \
--header 'LL-Version: 2021-03-01' \
--header 'x-auth-token;'
Response Response Example
{
    "total": 1,
    "items": [
        {
            "instance_id": 38,
            "variation_id": 2,
            "rental_option_id": null,
            "acquisition_source": "grant_support",
            "asset": {
                "id": 60,
                "uuid": "2270e9f4-e833-43b5-a8ad-9680e317a4da",
                "ulid": "",
                "name": "Test",
                "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, 26 Sep 2024 08:23:17 +0000",
                "marked_new": "Tue, 11 Jun 2024 14:05:54 +0000",
                "default_variation_id": 2,
                "default_loadouts": {
                    "Test": false,
                    "Test 2": false
                },
                "description": "",
                "links": {
                    "steam_square": "https://cdn.stage.dev.lootlocker.cloud/369/JfmbuawKkVXSueidIqHleoVWRVPpXGSM.png"
                },
                "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,
                "variations": [
                    {
                        "id": 2,
                        "name": "Tests",
                        "primary_color": "AABBCC",
                        "secondary_color": "336699",
                        "links": {
                            "steam_square": "https://cdn.stage.dev.lootlocker.cloud/369/JfmbuawKkVXSueidIqHleoVWRVPpXGSM.png"
                        }
                    }
                ]
            },
            "rental": {
                "is_rental": false,
                "time_left": null,
                "duration": null,
                "is_active": null
            }
        }
    ]
}

Request

Authorization
API Key
Add parameter in header
x-auth-token
Example:
x-auth-token: ********************
or
Path Params
player_id
string 
required
Example:
361
Header Params
LL-Version
string 
required
Example:
2021-03-01

Responses

🟢200Success
application/json
Body
total
integer <uint64>
required
items
array [object {6}] 
required
instance_id
integer <uint64>
required
variation_id
integer <uint64> | null 
required
rental_option_id
integer <uint64> | null 
optional
acquisition_source
string 
optional
asset
object (Asset v1) 
optional
rental
object 
optional
Previous
Invoke Trigger
Next
Get Character Inventory
Built with