TanqoryDocs

tanqoryExtFulfillmentBatches

  • Query
  • Orders and payments

Open batches (closed too when includeClosed), newest first.

Arguments

ArgumentTypeRequiredDefault
includeClosedBooleanOptional

Returns

[TanqoryExtFulfillmentBatch!]!

FieldTypeDescription
assigneeIdID

Deprecated

The assignee of the batch's current step: the earliest step that holds an order, else Done once every order is past the steps, else the first step. Each step has its own assignee: read steps.assignee and doneAssignee.

assigneeNameString

Deprecated

The name of the current step's assignee (as assigneeId).

closedAtDateTime
createdAtDateTime!
doneActivity[TanqoryExtFulfillmentBatchEvent!]!

The Done step's activity log, newest first.

doneAssigneeStaffMember

Who works the Done step (each step has its own: TanqoryExtFulfillmentBatchStep.assignee); null = Unassigned.

doneFulfillmentOrders[FulfillmentOrder!]!

Fulfillment orders moved past the last step (Done). Only a move puts an order here: one fulfilled while at a step stays at that step.

fulfillmentOrders[FulfillmentOrder!]!

The batch's fulfillment orders, in the order they were added.

idID!
nameString!

The creation date in the store's time zone (2026-11-06), with " (2)", " (3)" ... when that name is taken.

ordersCountInt!

Distinct orders in the batch.

stageTanqoryExtFulfillmentBatchStage!

Deprecated

Where the batch is on the built-in flow: the earliest step that still holds an order (its position read as Pick, Print, Pack), DONE when none does. Each order now has its own step: read steps.

steps[TanqoryExtFulfillmentBatchStep!]!

The batch's steps in order: the store's workflow as it was when the batch was created.

timeline[TanqoryExtFulfillmentBatchEvent!]!

The batch timeline, newest first: created, renamed, closed, and staff comments.

updatedAtDateTime!

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":"query TanqoryExtFulfillmentBatches {\n  tanqoryExtFulfillmentBatches {\n    assigneeId\n    assigneeName\n    closedAt\n    createdAt\n    doneActivity { id }\n    doneAssignee { id }\n    doneFulfillmentOrders { id }\n    fulfillmentOrders { id }\n    id\n    name\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10