Manage partial fulfillment of a Shopify order and handle backorder status for unfulfilled line items

domain: shopify.dev · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Query the order's fulfillmentOrders to identify which line items are assignedLocationId and their fulfillableQuantity
  2. Call fulfillmentCreateV2 mutation with the fulfillmentOrder GID and only the line items that are currently in stock, leaving backorder items unfulfilled
  3. For backorder items, set a custom metafield on the line item or order indicating expected availability date
  4. Monitor inventory levels via inventoryLevel queries or webhook on inventory_levels/update; when stock arrives, a new fulfillmentOrder for the remaining items becomes available
  5. Trigger a second fulfillmentCreateV2 for the backorder line items once inventory is confirmed and communicate the shipment to the customer

Known gotchas

Related routes

Handle split shipments and backorder fulfillment for partially available orders
shopify.com · 6 steps · unrated
Manage Shopify fulfillment orders and assign them to a fulfillment service
shopify.com · 6 steps · unrated
fulfill a shopify order using the fulfillment orders api (modern fulfillment flow)
shopify.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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