Skip to main content
mutation

Requires write_batches 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.

•BatchStepMoveDirection!
required

The direction to move items (next or previous step).

Show enum values
•ID!
required

The batch's globally unique ID.

•[ID!]

The items to move. When omitted or null, all items in the step are moved. An empty list may return a NO_ITEMS error.

•ID!
required

The step containing the items to move.


Was this section helpful?

Anchor to BatchMoveItemsPayload returnsBatchMoveItemsPayload returns

•Batch

The updated batch.

Show fields
•[BatchItemRejection!]

Items that couldn't be moved, grouped by rejection reason.

Show fields
•[Batchable!]

The items that were successfully moved between steps.

Show fields
•[BatchMoveItemsUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?