Inventory Level
Requires access scope.
The quantities of an inventory item that are related to a specific location. Learn more about the relationships between inventory objects.
Anchor to Fields and connectionsFields and connections
- Anchor to canDeactivatecan•
Deactivate Boolean!non-null Whether the inventory items associated with the inventory level can be deactivated.
- Anchor to createdAtcreated•
At DateTime!non-null The date and time when the inventory level was created.
- Anchor to deactivationAlertdeactivation•
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 Quantities for the requested names.
- Anchor to scheduledChangesscheduled•
Changes Scheduled changes for the requested quantity names.
- Anchor to updatedAtupdated•
At DateTime!non-null The date and time when the inventory level was updated.
Anchor to MutationsMutations
- •mutation
Activate an inventory item at a location.
- Anchor to availableavailable•
The initial available quantity of the inventory item being activated at the location.
- Anchor to inventoryItemIdinventory•
Item Id ID!required The ID of the inventory item to activate.
- Anchor to locationIdlocation•
Id ID!required The ID of the location of the inventory item being activated.
- Anchor to onHandon•
Hand The initial on_hand quantity of the inventory item being activated at the location.
Arguments
- Anchor to inventoryLevelinventory•
Level The inventory level that was activated.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
- Anchor to inventoryItemIdinventory•
Item Id ID!required The ID of the inventory item to modify the activation status locations for.
- Anchor to inventoryItemUpdatesinventory•
Item Updates A list of pairs of locations and activate status to update for the specified inventory item.
Arguments
- Anchor to inventoryIteminventory•
Item The inventory item that was updated.
- Anchor to inventoryLevelsinventory•
Levels The activated inventory levels.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields