---
title: "inventoryLevel"
description: "Returns an InventoryLevel object by ID."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/queries/inventory-level'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/queries/inventory-level.md'
---
# inventoryLevel

Returns an InventoryLevel object by ID.


- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Type Signature

`InventoryLevel`

## Arguments

* `id`

  [ID!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  The returned InventoryLevel's id.

## Returns

* `createdAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Date and time of the inventory level's creation.

* `id`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  The ID of Inventory level for the specified location.

* `item`

  [InventoryItem](https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-item.md)

  The inventory item related to the inventoryLevel.

* `itemId`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  The ID of Inventory item associated with the inventory level.

* `locationId`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  The ID of location.

* `quantities`

  [[InventoryQuantity]](https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-quantity.md)

  The quantity of the requested name.

* `updatedAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Date and time of the last update to the inventory level.

## Code Example

```graphql
 {
	inventoryLevel(id ) 
		 {
			# InventoryLevel fields
		}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

