TanqoryDocs

tanqoryExtFulfillmentBatchCreate

  • Mutation
  • Orders and payments

Creates a batch with the orders' fulfillment orders that can be batched (open or in progress, not on hold, not in another open batch). The batch gets a copy of the store's workflow and its fulfillment orders start at the first step. BLANK (no order), NOT_FOUND (an order of another store or unknown), FULFILLED (every selected order is already fulfilled), INVALID (nothing else to batch: on hold, or already in a batch).

Arguments

ArgumentTypeRequiredDefault
orderIds[ID!]!Required

Returns

TanqoryExtFulfillmentBatchPayload

FieldTypeDescription
addedCountInt

Fulfillment orders added by this call.

batchTanqoryExtFulfillmentBatch
userErrors[TanqoryExtFulfillmentBatchUserError!]!

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 TanqoryExtFulfillmentBatchCreate($orderIds: [ID!]!) {\n  tanqoryExtFulfillmentBatchCreate(orderIds: $orderIds) {\n    addedCount\n    batch { id }\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"orderIds":[]}}'

Built from commit c0b3fb3fdef7 · API version 2026-10