> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kibocommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# View Inventory Segments

Segmented inventory is displayed in the Inventory UI and Inventory API data, and you can manage the inventory tags of individual order items from the Orders UI.

<CardGroup cols={2}>
  <Card title="Inventory Concepts" icon="book-open" href="/concept-guides/inventory" horizontal data-rec="concept-guide">
    Learn about inventory management fundamentals
  </Card>

  <Card title="Developer Reference" icon="code" href="/developer-guides/inventory" horizontal data-rec="developer-doc">
    See the Inventory API documentation for programmatic access
  </Card>

  <Card title="Watch: Inventory Segmentation" icon="circle-play" href="/video/inventory-segmentation" horizontal data-rec="video">
    Learn how to configure and manage inventory segments
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Inventory Concepts" icon="book-open" horizontal href="/concept-guides/inventory">
    Learn about inventory management fundamentals
  </Card>

  <Card title="Developer Reference" icon="code" horizontal href="/developer-guides/inventory">
    See the Inventory API documentation for programmatic access
  </Card>

  <Card title="Watch: Inventory Segmentation" icon="circle-play" horizontal href="/video/inventory-segmentation">
    Learn how to configure and manage inventory segments
  </Card>
</CardGroup>

## Inventory UI

Expanding a row in the main Inventory table will reveal its tags and the portions of the total quantities that has been set for each segment of tag values. As shown earlier, the On Hand, Available, and Allocated values add up to the total quantity for the inventory record.

If inventory is out of stock (in other words, if the available inventory is 0) at a particular location, then its row will be highlighted red. If available inventory is less than the safety stock but is not yet 0, then it will be highlighted yellow to warn that it will be going out of stock soon.

The safety stock is set at the overall record level, and all segments within that record are compared against that value. If only one segment is out of stock or its available quantity is below the safety stock value, then only that row will be highlighted.

<img src="https://mintcdn.com/kibocommerce-59e68a4a/mirjU24xTFSyw6n2/img/out-of-stock.png?fit=max&auto=format&n=mirjU24xTFSyw6n2&q=85&s=a9712aeb107fd5550d62e0d52797724a" alt="Example of a product highlighted in red where quantity is 0" width="2436" height="304" data-path="img/out-of-stock.png" />

### View Segmented Future Inventory

If viewing inventory for a site that has [future inventory](/pages/future-inventory "Future Inventory") enabled as well as segmentation, the Future On Hand, Future Available, and Future Allocated levels will be displayed at the tag level while the parent record displays the sum of inventory levels across all tags.

1. Expand a parent inventory record to view its tags, which will include a breakdown of each segment's Current, Future, and Total (the sum of Current and Future) inventory levels if that product uses future inventory.
2. Click the **Future Inventory Dates** link on an individual segment. This will display a pop-up with more details about the inventory levels that are expected for that segment until the selected date.  <img src="https://mintcdn.com/kibocommerce-59e68a4a/lNdWuidiFHcqMZvX/img/future-inventory-link.png?fit=max&auto=format&n=lNdWuidiFHcqMZvX&q=85&s=2002c7bb47b783f7372b437189bb843b" alt="An inventory record expanded to show the Future Inventory Dates link" width="1865" height="217" data-path="img/future-inventory-link.png" />
3. Select a date using the drop down **Select a date to retrieve future inventory**. This should be a value between the current date and the future date limit as configured in site settings per site.
   <Frame>
     <img src="https://mintcdn.com/kibocommerce-59e68a4a/5B5Dqyuwxe3Ogson/images/futureinventorypersitesettingdate.png?fit=max&auto=format&n=5B5Dqyuwxe3Ogson&q=85&s=c498c8621e27a23d6151ad44849f3ce0" alt="Futureinventorypersitesettingdate" width="1588" height="472" data-path="images/futureinventorypersitesettingdate.png" />
   </Frame>

## API Responses

You can also view tagged inventory segments when [retrieving inventory data from the API](/api-reference/inventory/get-inventory-post), such as in this example response:

```text theme={null}
[
    {
        "locationName": "Main Warehouse",
        "locationCode": "homebase",
        "tenantID": 31545,
        "onHand": 150,
        "available": 148,
        "allocated": 2,
        "pending": 0,
        "upc": "AD1001",
        "blockAssignment": false,
        "ltd": 0,
        "floor": 0,
        "safetyStock": 0,
        "distance": 0,
        "directShip": true,
        "transferEnabled": true,
        "pickup": true,
        "countryCode": "US",
        "taggedInventory": [
            {
                "onHand": 100,
                "available": 100,
                "allocated": 0,
                "pending": 0,
                "tags": {
                    "Channel": "Warehouse"
                },
                "futureInventory": null
            },
            {
                "onHand": 50,
                "available": 48,
                "allocated": 2,
                "pending": 0,
                "tags": {
                    "Channel": "Target"
                },
                "futureInventory": null
            }
        ]
    }
]
```
