InventoryLevel

Version 2019-04 (latest)

Represents the inventory quantity of an inventory item at a specific location.

Required access

read_inventory access scope

Show definition
"""
Represents the inventory quantity of an inventory item at a specific location.
"""
type InventoryLevel implements Node {
  """
  Quantity of items available at the location.
  """
  available: Int!
  """
  Whether inventoryDeactivate is allowed for this inventory level.
  """
  canDeactivate: Boolean!
  """
  The date and time when the inventory level was created.
  """
  createdAt: DateTime!
  """
  Reason why canDeactivate is false, or impact of deactivating the inventory level.
  """
  deactivationAlert: String
  """
  Reason why canDeactivate is false with URLs linked in HTML, or impact of deactivating the inventory level.
  """
  deactivationAlertHtml: FormattedString
  """
  Globally unique identifier.
  """
  id: ID!
  """
  Quantity of items incoming to the location.
  """
  incoming: Int!
  """
  Inventory item associated with the inventory level.
  """
  item: InventoryItem!
  """
  Location associated with the inventory level.
  """
  location: Location!
  """
  The date and time when the inventory level was updated.
  """
  updatedAt: DateTime!
}

Implements

Fields

available (Int!)

Quantity of items available at the location.

canDeactivate (Boolean!)

Whether inventoryDeactivate is allowed for this inventory level.

createdAt (DateTime!)

The date and time when the inventory level was created.

deactivationAlert (String)

Reason why canDeactivate is false, or impact of deactivating the inventory level.

deactivationAlertHtml (FormattedString)

Reason why canDeactivate is false with URLs linked in HTML, or impact of deactivating the inventory level.

id (ID!)

Globally unique identifier.

incoming (Int!)

Quantity of items incoming to the location.

item (InventoryItem!)

Inventory item associated with the inventory level.

location (Location!)

Location associated with the inventory level.

updatedAt (DateTime!)

The date and time when the inventory level was updated.

Sign up for a Partner account to get started.

Sign up