Anchor to inventoryActivateinventory
mutationinventory Activate
Requires access scope. Also: The user must have a permission to activate an inventory item.
Activate an inventory item at a location.
Anchor to Arguments
Arguments
- Anchor to availableavailable•Int
The initial available quantity of the inventory item being activated at the location.
- Anchor to inventoryItemIdinventory•ID!required
Item Id The ID of the inventory item to activate.
- Anchor to locationIdlocation•ID!required
Id 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•BooleanDefault:false
At Legacy Location Allow activation at or away from fulfillment service location with sku sharing off. This will deactivate inventory at all other locations.
Was this section helpful?
- 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.
Was this section helpful?