TanqoryDocs

tanqoryExtFulfillmentBatchAssign

  • Mutation
  • Orders and payments

Sets who works one step of the batch: stepId, or done true for the Done step (exactly one of them); assigneeId null = Unassigned. Only that step changes. Logged in the step's activity ("You assigned the Print step to <name>"). NOT_FOUND (batch, step or staff member of the store), BLANK (neither or both of stepId and done), CLOSED.

Arguments

ArgumentTypeRequiredDefault
assigneeIdIDOptional
doneBooleanOptional
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 TanqoryExtFulfillmentBatchAssign($id: ID!) {\n  tanqoryExtFulfillmentBatchAssign(id: $id) {\n    batch { id }\n    count\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10