TanqoryDocs

tanqoryExtFulfillmentBatchMove

  • Mutation
  • Orders and payments

Moves fulfillment orders one step, each from its own step: fulfillmentOrderIds (the selected orders), or every order at stepId ("Move all to <next step>"). NEXT past the last step is Done; PREVIOUS from Done is the last step. Only a move changes an order's step, whatever its fulfillment status. Logged under each step they left (and in Done's activity for a move into or out of Done). NOT_FOUND (batch, step or a fulfillment order not in the batch), BLANK (neither or both of fulfillmentOrderIds and stepId, or nothing at the step), INVALID (PREVIOUS from the first step), CLOSED.

Arguments

ArgumentTypeRequiredDefault
directionTanqoryExtFulfillmentBatchMoveDirection!Required
fulfillmentOrderIds[ID!]Optional
idID!Required
stepIdIDOptional

Returns

TanqoryExtFulfillmentBatchStepPayload

FieldTypeDescription
batchTanqoryExtFulfillmentBatch
countInt

The fulfillment orders this call moved, removed or marked.

userErrors[TanqoryExtFulfillmentBatchStepUserError!]!

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"mutation TanqoryExtFulfillmentBatchMove($direction: TanqoryExtFulfillmentBatchMoveDirection!, $id: ID!) {\n  tanqoryExtFulfillmentBatchMove(direction: $direction, id: $id) {\n    batch { id }\n    count\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"direction":"NEXT","id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10