---
updatedAt: 2025-11-11T03:19:31.000Z
agentTools:
  projectIndex: https://beamable2.readme.io/llms.txt
---

# Inventory - Overview

Store virtual items in player inventory [ECON-Inventory-01]

The Beamable **Inventory** <Glossary>Feature</Glossary> allows game makers to manage owned items per player within the game.

Beamable's Inventory system is built on the Content feature. This means that content can be created and published via the [Content Manager](https://beamable2.readme.io/docs/content-manager-overview), then granted to players through various workflows:

* Add/Remove inventory items to the active player during the course of gameplay. Ex. the player earns a new "Sword" inventory item based on in-game progress
* Add inventory items to the active player via the Beamable [Store](https://beamable2.readme.io/docs/stores-feature-overview). Ex. the player pays real-world currency to buy a new "Sword" inventory item

## Data Concepts

The <a target="_blank" href="https://csharp.cdocs.beamable.com/latest/classBeamable_1_1Api_1_1Inventory_1_1InventoryService.html#details">`InventoryService`</a> manages items owned by the active player. Whereas the <a target="_blank" href="https://csharp.cdocs.beamable.com/latest/classBeamable_1_1Content_1_1ContentService.html#details">`ContentService`</a> manages all items available in the game, regardless if owned or not.

Each **Inventory Item** owned by the active player relates to a specific **Content Item**.

<HTMLBlock>{`
<div class="lucidChart1">
  <iframe class="lucidChart1" 
   src="https://lucid.app/documents/embeddedchart/f9d718d9-c263-48ae-8a2b-30b7a942ed8b"  id="XlRD_VAysjjX">
  </iframe>
</div>

<style>
  .lucidChart1 { 
    
    /* DO NOT EDIT */
    pointer-events: none; 
    user-select: none; 
    position: relative; 
    background-color:rgba(0, 0, 0, 0);
    width: 100%; 
    border:none;
    
    /* EDIT AS DESIRED */
    min-height: 250px; 
  }
</style>
`}</HTMLBlock>

## Case Study

*Example:* Your game allows the user to purchase items from the store in the form of armor or accessories for the character. We can achieve this by creating the items in the [Content Manager](https://beamable2.readme.io/docs/content-manager-overview), then setting up an in-game [Store](https://beamable2.readme.io/docs/stores-feature-overview), and finally allowing the player to access their inventory. There are various APIs available to retrieve the user's inventory (see [Code](https://beamable2.readme.io/docs/inventory-code)), and the content stored in the inventory supports custom data to suit the specific implementation.\*

This is demonstrated in Beamable's [HATS Sample](https://beamable2.readme.io/docs/multiplayer-hats-overview) project.

<Image title="InventorySample.png" alt={1080} align="center" width="smart" src="https://files.readme.io/17678df-InventorySample.png">
  The player inventory, full of hats.
</Image>

## Portal

Player inventories can be viewed/edited on the Portal. More information can be found in the [Portal - Inventory](https://beamable2.readme.io/docs/portal-inventory) guide.

<Image title="Portal-Inventory-1.png" alt={1890} align="center" width="smart" src="https://files.readme.io/fee3ce4-Portal-Inventory-1.png" />

> 📘 Related Features
>
> More details are covered in related feature page(s).
>
> • [Content](https://beamable2.readme.io/docs/content-feature-overview)  - Allow game maker to store project-specific data