Anchor to batchMoveItemsbatch
mutationbatch Move Items
Requires access scope.
Moves items between steps within a batch.
Supports an optional idempotency key using the @idempotent directive.
Retrying with the same key returns the original move outcome without moving items again.
Anchor to Arguments
Arguments
- direction (BatchStepMoveDirection!)
- id (ID!)
- itemIds ([ID!])
- stepId (ID!)
- Anchor to directiondirection•Batch
Step Move Direction! required The direction to move items (next or previous step).
Show enum values
- •ID!required
The batch's globally unique ID.
- Anchor to itemIdsitem•[ID!]
Ids The items to move. When omitted or null, all items in the step are moved. An empty list may return a
NO_ITEMSerror.- Anchor to stepIdstep•ID!
Id required The step containing the items to move.
Was this section helpful?
- batch (Batch)
- batchItemRejections ([BatchItemRejection!])
- movedItems ([Batchable!])
- userErrors ([BatchMoveItemsUserError!]!)
- Anchor to batchbatch•Batch
The updated batch.
Show fields
- Anchor to batchItemRejectionsbatch•[Batch
Item Rejections Item Rejection!] Items that couldn't be moved, grouped by rejection reason.
Show fields
- Anchor to movedItemsmoved•[Batchable!]
Items The items that were successfully moved between steps.
Show fields
- Anchor to userErrorsuser•[Batch
Errors Move Items User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?