---
title: "InventoryQuantity"
description: >
  Represents the quantity of inventory items with the specific name at the specific location.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-quantity'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-quantity.md'
---
# InventoryQuantity

Represents the quantity of inventory items with the specific name at the specific location.

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

## Type Signature

`InventoryQuantity`

## Fields

* `name`

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

  The name identifying the inventory quantities.
  | Inventory state | Description |
  | --- | --- |
  | available | The inventory that a merchant can sell. Available inventory isn’t committed to any orders and isn’t part of incoming transfers. |
  | on_hand | The total number of units that are physically at a location. The `on_hand` state equals the sum of inventory quantities that are in the `available`, `committed` and `unavailable` states. |
  | committed | The number of units that are part of a placed order but aren't fulfilled. When a draft order is created, the inventory isn't committed until the draft order is completed and an order is created. |
  | unavailable | The on-hand units that are temporarily set aside. For example, a merchant might want to set on-hand units aside for holds or inspection. |
  

* `quantity`

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

  The quantity of the specified name.

* `updatedAt`

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

  The date and time of the last quantity update.

## Schema Definition

```graphql
type InventoryQuantity { 
	name: String
	quantity: Int
	updatedAt: Date 
}
```

## Field from

* [InventoryLevel](https://developer.shopline.com/docs/admin-graph-ql-api/inventory/objects/inventory-level.md).quantities

  The quantity of the requested name.

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

