# Get Inventories

## Get Inventories for Given Products

<mark style="color:green;">`POST`</mark> `https://{{workspace}}.myeshopbox.com/api/v1/inventoryListing`

This endpoint allows you to get Inventories of given SKUs warehouse-wise.\
The response map with keys representing SKUs and their values consists of two keys \
1\. warehouseInventories: which consists warehouse wise inventory of that particular sku.\
2\. inventories: which gives the summarized inventory count across warehouses.

#### Headers

| Name           | Type   | Description                                     |
| -------------- | ------ | ----------------------------------------------- |
| Authentication | string | The Bearer Token is required to access the API. |

#### Request Body

| Name | Type  | Description                                                                                 |
| ---- | ----- | ------------------------------------------------------------------------------------------- |
| skus | array | SKU is the is a unique code that identifies characteristics of each product, source: client |

{% tabs %}
{% tab title="200  Inventories successfully retrieved." %}

```
{
    "0SGAT12SG25F": {
        "warehouseInventories": {
            "GGN": {
                "outwardInProcess": 10,
                "sellable": 4,
                "inwardInProcess": 5,
                "nonSellable": 3
            }
        },
        "inventories": {
            "outwardInProcess": 10,
            "sellable": 4,
            "inwardInProcess": 5,
            "nonSellable": 3
        }
    },
    "0SGAT12SG25F": {
        "warehouseInventories": {
            "GGN": {
                "outwardInProcess": 4,
                "sellable": 3,
                "inwardInProcess": 2,
                "nonSellable": 7
            },
            "BNG": {
                "outwardInProcess": 4,
                "sellable": 5,
                "inwardInProcess": 1,
                "nonSellable": 0
            }
        },
        "inventories": {
            "outwardInProcess": 8,
            "sellable": 8,
            "inwardInProcess": 3,
            "nonSellable": 7
        }
    }
}
```

{% endtab %}
{% endtabs %}
