---
title: "GetAllQuantityInItemWarehouse"
canonical: "https://docs.dk.is/space/DEV/10356151/GetAllQuantityInItemWarehouse"
format: markdown
---
This function returns quantity for items on a warehous

## Parameters

Used to call the function

1. LastModified - datetime
2. warehouse - string
3. OnlyGetWebshopItems - boolean

## Returns

Returns the following

- Array of [TItemWarehouse](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356982)


> ℹ️ NOTE : This information can also be obtained when fetching the [TItem](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355270) using for example [GetItem](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355294) enabling the [TItemOptions](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355283) IncludeWarehouse.
> ℹ️ 
> ℹ️ NOTE: Items in the warehouse that has zero (0) quantity are not returned.


## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |