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•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 Quantities for the requested names.
- Anchor to scheduledChangesscheduled•Inventory
Changes Scheduled Change Connection! non-null Scheduled changes for the requested quantity names.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the inventory level was updated.
Deprecated fields and connections
- Anchor to availableavailable•Int!non-nullDeprecated
- Anchor to incomingincoming•Int!non-nullDeprecated
Anchor to MutationsMutations
- •mutation
Activate an inventory item at a location.
- Anchor to availableavailable•Int
The initial available quantity of the inventory item being activated at the location.
- Anchor to inventoryItemIdinventory•ID!
Item 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•Int
Hand The initial on_hand quantity of the inventory item being activated at the location.
- Anchor to stockAtLegacyLocationstock•Boolean
At Legacy Location Default:false Allow activation at or away from fulfillment service location with sku sharing off. This will deactivate inventory at all other locations.
Arguments
- Anchor to inventoryLevelinventory•Inventory
Level Level The inventory level that was activated.
- Anchor to userErrorsuser•[User
Errors Error!]! 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•ID!
Item Id required The ID of the inventory item to modify the activation status locations for.
- Anchor to inventoryItemUpdatesinventory•[Inventory
Item Updates Bulk Toggle Activation Input!]! required A list of pairs of locations and activate status to update for the specified inventory item.
Arguments
- Anchor to inventoryIteminventory•Inventory
Item Item The inventory item that was updated.
- Anchor to inventoryLevelsinventory•[Inventory
Levels Level!] The activated inventory levels.
- Anchor to userErrorsuser•[Inventory
Errors Bulk Toggle Activation User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
Deprecated mutations
- •mutationDeprecated
- Anchor to inputinput•Inventory
Adjust Quantity Input! required Provides the input fields required to update an inventory level.
Arguments
- Anchor to inventoryLevelinventory•Inventory
Level Level Represents the updated inventory quantity of an inventory item at a specific location.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
- •mutationDeprecated
- Anchor to inventoryItemAdjustmentsinventory•[Inventory
Item Adjustments Adjust Item Input!]! required Specifies adjustments for items.
- Anchor to locationIdlocation•ID!
Id required Specifies where the item should be adjusted.
Arguments
- Anchor to inventoryLevelsinventory•[Inventory
Levels Level!] Represents the updated inventory quantities of an inventory item at the location.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Fields