Skip to main content
query

Returns an InventoryLevel object by ID.

•ID!
required

The ID of the InventoryLevel to return.


Was this section helpful?

•InventoryLevel

The quantities of an inventory item at a specific location. Each inventory level connects one InventoryItem to one Location, tracking multiple quantity states like available, on-hand, incoming, and committed.

The quantities field provides access to different inventory states. Learn more about inventory states and relationships.

•Boolean!
non-null

Whether the inventory items associated with the inventory level can be deactivated.

•DateTime!
non-null

The date and time when the inventory level was created.

•String

Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated.

•ID!
non-null

A globally-unique ID.

•InventoryItem!
non-null

Inventory item associated with the inventory level.

•Location!
non-null

The location associated with the inventory level.

•[InventoryQuantity!]!
non-null

The quantity of an inventory item at a specific location, for a quantity name.

Arguments

•[String!]!
required

The names of the requested inventory quantities.


•InventoryScheduledChangeConnection!
non-null

Scheduled changes for the requested quantity names.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•ScheduledChangeSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to expected_at
•time
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to quantity_names
•string

•DateTime!
non-null

The date and time when the inventory level was updated.


Was this section helpful?