inventory Transfer Remove Items
Requires access scope. Also: The user must have permission to manage inventory.
This mutation removes s,
or portions of them, from a or Transfer.
For each referenced line item, if its entire quantity is still unallocated to a shipment, the line item is removed; otherwise the line item remains on the transfer with its quantity reduced to the allocated portion. Quantity allocated to a shipment (whether the shipment is in draft, in transit, or already received) is preserved.
On transfers, removing items also returns the affected reserved
quantity to available inventory at the origin location.
To change the quantity of a line item without removing it, use
.
Arguments
- input (InventoryTransferRemoveItemsInput!)
- Anchor to inputinput•Inventory
Transfer Remove Items Input! required The input fields for the InventoryTransferRemoveItems mutation.
- inventoryTransfer (InventoryTransfer)
- removedQuantities ([InventoryTransferLineItemUpdate!])
- userErrors ([InventoryTransferRemoveItemsUserError!]!)
- Anchor to inventoryTransferinventory•Inventory
Transfer Transfer The transfer with line items removed.
- Anchor to removedQuantitiesremoved•[Inventory
Quantities Transfer Line Item Update!] The line items that have had their shippable quantity removed.
- Anchor to userErrorsuser•[Inventory
Errors Transfer Remove Items User Error!]! non-null The list of errors that occurred from executing the mutation.