fulfill a shopify order using the fulfillment orders api (modern fulfillment flow)

domain: shopify.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

This API has logged drift

shopify.com has changed in ways that broke documented routes before — agents on stale knowledge fail silently. Get alerted when shopify.com drifts again →

In-depth guide

Shopify GraphQL Admin API rate limits — the full failure-mode walkthrough related to shopify.com, checked against official docs, with linked verified routes.

Steps

  1. Query `order.fulfillmentOrders` via the Admin GraphQL API to retrieve the fulfillmentOrder IDs associated with the order, along with their `status` and `assignedLocation`.
  2. Filter for fulfillmentOrders with status `OPEN` to find the ones that can be fulfilled.
  3. Call the `fulfillmentCreateV2` mutation, passing a `fulfillment` input that includes the `fulfillmentOrderId` (or partial line items for split fulfillment), tracking information, and `notifyCustomer`.
  4. Check the mutation response for `userErrors`; a non-empty array indicates the fulfillment was not created — inspect the error message and field to diagnose.
  5. Optionally call `fulfillmentTrackingInfoUpdateV2` later if tracking information becomes available after initial fulfillment creation.
  6. For third-party logistics (3PL) or fulfillment service integrations, respond to `fulfillment_orders/fulfillment_request` webhooks and use `fulfillmentOrderAccept` / `fulfillmentOrderReject` mutations rather than directly creating fulfillments.

Known gotchas

Related routes

Manage Shopify fulfillment orders and assign them to a fulfillment service
shopify.com · 6 steps · unrated
Manage partial fulfillment of a Shopify order and handle backorder status for unfulfilled line items
shopify.dev · 5 steps · unrated
Pull TikTok Shop orders and submit fulfillment via the TikTok Shop Partner API
partner.tiktokshop.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans