Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
40rty-ai avatar

Shopify Admin Split Shipment Planner

  • 7 installs
  • 173 repo stars
  • Updated June 26, 2026
  • 40rty-ai/shopify-admin-skills

shopify-admin-split-shipment-planner is a Claude Code skill that splits a multi-line Shopify fulfillment order into separate independently shippable fulfillment orders.

About

shopify-admin-split-shipment-planner splits a fulfillment order with multiple line items into two or more separate fulfillment orders, each shippable independently with its own tracking. A fulfillment ops owner uses it when items ship from different locations, dates, or carriers. The split is irreversible, so it defaults to dry_run.

  • Splits a multi-line fulfillment order into separate independently shippable orders
  • Runs fulfillmentOrderSplit; dry_run defaults to true and the split is irreversible
  • Requires read_orders and write_fulfillments scopes on an OPEN fulfillment order

Shopify Admin Split Shipment Planner by the numbers

  • 7 all-time installs (skills.sh)
  • Ranked #1,587 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
At a glance

shopify-admin-split-shipment-planner capabilities & compatibility

Free; needs a Shopify CLI session with read_orders and write_fulfillments scopes

Capabilities
split shipment · fulfillment management · order management
Runs
Runs locally
Pricing
Free
From the docs

What shopify-admin-split-shipment-planner says it does

Splits a fulfillment order containing multiple line items into two or more separate fulfillment orders, each of which can be shipped independently with its own tracking number.
SKILL.md
fulfillmentOrderSplit` is irreversible — a split fulfillment order cannot be merged back.
SKILL.md
npx skills add https://github.com/40rty-ai/shopify-admin-skills --skill shopify-admin-split-shipment-planner

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7
repo stars173
Last updatedJune 26, 2026
Repository40rty-ai/shopify-admin-skills

What it does

A fulfillment ops owner splits an order into separate shipments for partial or location-specific shipping.

Who is it for?

Ops teams shipping one order in multiple shipments from different locations or carriers

Skip if: Reversing a split (fulfillmentOrderSplit is irreversible and cannot be merged back)

When should I use this skill?

An order's items must ship separately by location, date, or carrier

What you get

The original fulfillment order is replaced by multiple new fulfillment orders, each independently shippable.

  • multiple new fulfillment orders, one per split group

By the numbers

  • 2-step workflow (fulfillmentOrders query then fulfillmentOrderSplit mutation)
  • dry_run defaults to true

Files

SKILL.mdMarkdownGitHub ↗

Purpose

Splits a fulfillment order containing multiple line items into two or more separate fulfillment orders, each of which can be shipped independently with its own tracking number. Used when items in an order ship from different locations, on different dates, or require different carriers. Replaces manual split-shipment handling in Shopify Admin.

Prerequisites

  • Authenticated Shopify CLI session: shopify store auth --store <domain> --scopes read_orders,write_fulfillments
  • API scopes: read_orders, write_fulfillments
  • Target fulfillment order must be in OPEN status

Parameters

ParameterTypeRequiredDefaultDescription
storestringyesStore domain (e.g., mystore.myshopify.com)
fulfillment_order_idstringyesGID of the fulfillment order to split
split_groupsarrayyesList of {line_item_ids: [], quantities: []} defining each shipment group
dry_runboolnotruePreview split without executing mutation
formatstringnohumanOutput format: human or json

Safety

⚠️ fulfillmentOrderSplit is irreversible — a split fulfillment order cannot be merged back. The original fulfillment order is replaced by multiple new ones. Run with dry_run: true to confirm the intended groupings before committing. Ensure all line_item_ids in split_groups belong to the target fulfillment order.

Workflow Steps

1. OPERATION: fulfillmentOrders — query Inputs: Query for the specific fulfillment order by order ID, filter by status: OPEN Expected output: Fulfillment order with all lineItems { id, remainingQuantity, variant { sku, title } }

2. Validate split_groups — confirm all line item IDs exist in the fulfillment order and quantities are ≤ remaining quantities

3. OPERATION: fulfillmentOrderSplit — mutation Inputs: fulfillmentOrderId, fulfillmentOrderLineItems array per split group Expected output: Array of new fulfillmentOrders { id, lineItems }, userErrors

GraphQL Operations

# fulfillmentOrders:query — validated against api_version 2025-01
query FulfillmentOrderLines($orderId: ID!) {
  order(id: $orderId) {
    id
    name
    fulfillmentOrders(first: 10) {
      edges {
        node {
          id
          status
          lineItems(first: 50) {
            edges {
              node {
                id
                remainingQuantity
                totalQuantity
                variant {
                  id
                  sku
                  title
                }
              }
            }
          }
        }
      }
    }
  }
}
# fulfillmentOrderSplit:mutation — validated against api_version 2025-01
mutation FulfillmentOrderSplit($fulfillmentOrderId: ID!, $fulfillmentOrderLineItems: [FulfillmentOrderLineItemInput!]!) {
  fulfillmentOrderSplit(
    fulfillmentOrderId: $fulfillmentOrderId
    fulfillmentOrderLineItems: $fulfillmentOrderLineItems
  ) {
    fulfillmentOrders {
      id
      status
      lineItems(first: 50) {
        edges {
          node {
            id
            remainingQuantity
            variant {
              sku
              title
            }
          }
        }
      }
    }
    userErrors {
      field
      message
    }
  }
}

Session Tracking

Claude MUST emit the following output at each stage. This is mandatory.

On start, emit:

╔══════════════════════════════════════════════╗
║  SKILL: Split Shipment Planner               ║
║  Store: <store domain>                       ║
║  Started: <YYYY-MM-DD HH:MM UTC>             ║
╚══════════════════════════════════════════════╝

After each step, emit:

[N/TOTAL] <QUERY|MUTATION>  <OperationName>
          → Params: <brief summary of key inputs>
          → Result: <count or outcome>

If dry_run: true, prefix every mutation step with [DRY RUN] and do not execute it.

On completion, emit:

For format: human (default):

══════════════════════════════════════════════
OUTCOME SUMMARY
  Original fulfillment order: <id>
  Split into:                 <n> shipments
  Errors:                     <n>

  Shipment 1: <line items summary>
  Shipment 2: <line items summary>
══════════════════════════════════════════════

For format: json, emit:

{
  "skill": "split-shipment-planner",
  "store": "<domain>",
  "started_at": "<ISO8601>",
  "completed_at": "<ISO8601>",
  "dry_run": true,
  "original_fulfillment_order_id": "<id>",
  "resulting_fulfillment_orders": [],
  "errors": 0
}

Output Format

Human-readable split summary. No CSV output — split results are viewable in Shopify Admin under the order's fulfillment tab.

Error Handling

ErrorCauseRecovery
THROTTLEDAPI rate limit exceededWait 2 seconds, retry
userErrors — invalid line itemLine item ID not in fulfillment orderAbort and report mismatch
userErrors — quantity exceeds remainingSplit quantity > remaining quantityAbort and report per line item
Fulfillment order not OPENAlready fulfilled or cancelledAbort with status report

Best Practices

  • Use dry_run: true to preview the resulting shipment groups before splitting — a split cannot be reversed.
  • Ensure split_groups covers all line items in the fulfillment order; any unassigned items will remain in the original (residual) fulfillment order.
  • For orders with items shipping from different warehouses, use the fulfillment-location-routing skill to move the split groups to the correct locations after splitting.

Related skills

FAQ

Can a split be undone?

No, fulfillmentOrderSplit is irreversible and a split fulfillment order cannot be merged back.

What status must the order be in?

The target fulfillment order must be in OPEN status.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.