inventory Level
Returns an InventoryLevel object by ID.
Anchor to Possible returnsPossible returns
- Anchor to InventoryLevelInventory•Inventory
Level Level The quantities of an inventory item at a specific location. Each inventory level connects one
to oneLocation, tracking multiple quantity states like available, on-hand, incoming, and committed.The
quantitiesfield provides access to different inventory states. Learn more about inventory states and relationships.- Anchor to canDeactivatecan•Boolean!
Deactivate non-null Whether the inventory items associated with the inventory level can be deactivated.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the inventory level was created.
- Anchor to deactivationAlertdeactivation•String
Alert 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.
- Anchor to itemitem•Inventory
Item! non-null Inventory item associated with the inventory level.
- Anchor to locationlocation•Location!non-null
The location associated with the inventory level.
- Anchor to quantitiesquantities•[Inventory
Quantity!]! non-null The quantity of an inventory item at a specific location, for a quantity name.
- Anchor to namesnames•[String!]!required
The names of the requested inventory quantities.
Arguments
- Anchor to scheduledChangesscheduled•Inventory
Changes Scheduled Change Connection! non-null Scheduled changes for the requested quantity names.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Scheduled
Key Change Sort Keys 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.
- Anchor to queryquery•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.
Arguments
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the inventory level was updated.