Anchor to batchTransferItemsbatch
mutationbatch Transfer Items
Requires access scope.
Transfers items from one batch to another. Items land in the target batch's first step.
Anchor to Arguments
Arguments
- itemIds ([ID!])
- sourceBatchId (ID!)
- stepId (ID!)
- targetBatchId (ID!)
- Anchor to itemIdsitem•[ID!]
Ids The items to transfer. When omitted or null, all items in the step are transferred. An empty list may return a
NO_ITEMSerror.- Anchor to sourceBatchIdsource•ID!
Batch Id required The batch the items currently belong to.
- Anchor to stepIdstep•ID!
Id required The step in the source batch containing the items to transfer.
- Anchor to targetBatchIdtarget•ID!
Batch Id required The batch to transfer the items to.
Was this section helpful?
- batchItemRejections ([BatchItemRejection!])
- sourceBatch (Batch)
- targetBatch (Batch)
- userErrors ([BatchTransferItemsUserError!]!)
- Anchor to batchItemRejectionsbatch•[Batch
Item Rejections Item Rejection!] Items that couldn't be transferred, grouped by rejection reason.
Show fields
- Anchor to sourceBatchsource•Batch
Batch The source batch after items were transferred out.
Show fields
- Anchor to targetBatchtarget•Batch
Batch The target batch after items were transferred in.
Show fields
- Anchor to userErrorsuser•[Batch
Errors Transfer Items User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?