---
title: "InventoryLevelInput"
description: "Input fields for the inventory level."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/inputs/inventory-level-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/inputs/inventory-level-input.md'
---
# InventoryLevelInput

Input fields for the inventory level.

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

## Type Signature

`InventoryLevelInput`

## Input Fields

* `availableQuantity`

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

  The quantity of inventory items available at a specific location.

* `locationId`

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

  The location's ID

## Schema Definition

```graphql
input InventoryLevelInput { 
	availableQuantity: Int!
	locationId: ID! 
}
```

## Input field from

* [ProductVariantInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variant-input.md).inventoryQuantities

  The inventory quantity at each location storing the variant. Supported only as input for the `productVariantCreate` mutation.

* [ProductVariantsBulkInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variants-bulk-input.md).inventoryQuantities

  The inventory quantity at each location storing the variant. Supported only as input for the `productVariantCreate` mutation.

## 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).

