Split Orders

Use Complex Order Routing to fulfill one order as multiple shipments when no single warehouse has everything in stock.

---
title: Split Orders
description: Use Complex Order Routing to fulfill one order as multiple shipments when no single warehouse has everything in stock.
---

A split order is **one order with several shipments**. When a customer places a single order and no warehouse has every item, **Complex Order Routing** can fill it from more than one location at the same time. Each location gets its own shipment, with its own facility, items, and status.

<SupademoEmbed demoId="cmt7p6p7j0226qmi8mi2avxqq" />

This page covers the **Complex Order Routing** action in the Flow Editor: where it appears, how to configure the three decision blocks, what OmniOrders does when an order is imported, and how to read the result on the **Shipments** tab.

:::tip[Quick Start]
Go to **Automation > Rules**, create a rule with the **Before Import Order** trigger, then add **Complex Order Routing** from the **Routing** category. Save the action with the default settings if you want OmniOrders to try the next closest warehouse, split across the [fulfillment network](/glossary/#fulfillment-network) when needed, and fall back to the **Best location**.
:::

:::note[Spanish UI]
In the Spanish interface this action is **Enrutamiento de pedidos complejos**. The trigger is **Antes de importar orden**. Search this site for "split", "dividir orden", or "Complex Order Routing" to return here.
:::

## Why Use Split Orders?

<CardGrid>
  <IconCard
    title="Fill from more than one warehouse"
    icon="warehouse"
    bgColor="#faf5ff"
    bgColorDark="rgba(168, 85, 247, 0.12)"
  >
    Keep the customer order together as one record, then ship each piece from the location that has
    stock.
  </IconCard>
  <IconCard
    title="Prefer nearby locations"
    icon="map-pin"
    bgColor="#eff6ff"
    bgColorDark="rgba(59, 130, 246, 0.12)"
  >
    OmniOrders sorts warehouses by distance to the customer, then checks stock from nearest to
    farthest.
  </IconCard>
  <IconCard
    title="Control when a split happens"
    icon="sliders"
    bgColor="#f0fdf4"
    bgColorDark="rgba(34, 197, 94, 0.12)"
  >
    You choose whether to require every item in the network before splitting, or to fill what you
    can and send the rest to a fallback location.
  </IconCard>
  <IconCard
    title="See each shipment on the order"
    icon="package"
    bgColor="#fffbeb"
    bgColorDark="rgba(251, 191, 36, 0.12)"
  >
    Open the order and use the **Shipments** tab. Each shipment shows its own **Shipment #**,
    **Facility**, items, and status.
  </IconCard>
</CardGrid>

## How to Add Complex Order Routing

This action only appears when the rule trigger is **Before Import Order**. It does not run on orders that are already in OmniOrders, and it is not available on other triggers.

<SupademoEmbed demoId="cmt7pqrua0025qmekoeaoxe2p" />

<Steps>

1. **Open the Rules page**

   Go to **Automation > Rules** from the sidebar.

2. **Create or edit a rule**

   Click **+ New rule**, or open an existing rule. For a new rule, choose the **Before Import Order** trigger.

3. **Add the action from Routing**

   In the Flow Editor, open the **Routing** category in the action sidebar. Click **Complex Order Routing** to add it to the canvas.

   The catalog description is: _Configure advanced rules for managing orders with multiple warehouses, complex conditions, and custom logic._

4. **Configure the three blocks**

   Click the node to open the panel titled **Proximity Routing**. The info banner says orders are routed to the closest warehouse based on geographic distance. Set **Complete Shipment**, **Split Shipment**, and **Insufficient Network Inventory** (details below).

5. **Connect, validate, and save**

   Connect the action to the rest of the flow. Click **Validate**, then **Save**. Choose **Save & Activate** if you want the rule to run on the next import.

</Steps>

:::caution[Existing orders are not split]
**Complex Order Routing** runs only **Before Import Order**. It cannot divide an order that is already in the system.
:::

:::note[Not the same as Route by SKU]
**Route by SKU** sends specific products to warehouses you name. **Complex Order Routing** decides from proximity and stock whether one order becomes several shipments. Do not mix the two when you read this guide.
:::

## Feature Details

### Default configuration

A new **Complex Order Routing** node starts with these values. You can keep them or change them.

| Block                                     | Setting                                           | Default                |
| ----------------------------------------- | ------------------------------------------------- | ---------------------- |
| **Complete Shipment**                     | Which warehouse can take the whole order          | **Next best location** |
| **Split Shipment**                        | **Allow order splitting**                         | On                     |
| **Split Shipment** (when splitting is on) | How complete the network must be                  | **All in network**     |
| **Insufficient Network Inventory**        | Where the order goes if it still cannot be filled | **Best location**      |

### Complete Shipment

This block runs first. OmniOrders tries to send the **entire** order to **one** warehouse.

| Option                           | What it means                                                                        |
| -------------------------------- | ------------------------------------------------------------------------------------ |
| **Best location only**           | Only route if the single closest location has all items.                             |
| **Next best location** (default) | If the closest location lacks inventory, check the 2nd closest, then 3rd, and so on. |

If a warehouse can fill every line, OmniOrders stops here. The order is **not** split. You get one shipment from that warehouse.

### Split Shipment

This block runs only when no single warehouse has everything.

Turn on **Allow order splitting** to let OmniOrders fill what it can from the closest location, then send the rest to the next closest locations.

When the switch is on, two modes appear:

| Option                       | What it means                                                                                                                                                      |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **All in network** (default) | Split the order only across locations in the [fulfillment network](/glossary/#fulfillment-network). **All items must be available within the network to proceed.** |
| **Not all in network**       | Allow splitting even when not all items are available in the network. Fulfill what is possible and backorder the rest.                                             |

When **Allow order splitting** is off, these two cards stay hidden. OmniOrders skips splitting and goes to **Insufficient Network Inventory**.

:::caution[All in network can mean "do not split"]
If **All in network** is selected and **any** item is missing from the whole network, OmniOrders **does not split**. The order goes to the fallback in **Insufficient Network Inventory**. That is easy to misread: the split setting is on, but the order still ships from one location.
:::

### Insufficient Network Inventory

This block answers: _What happens if the entire network cannot fulfill the complete order?_

| Option                      | What it means                                                                                                    |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **Best location** (default) | Route to the closest location that has the most available inventory, even if it cannot fulfill the entire order. |
| **Custom location**         | Route to a specific warehouse that you choose when the network cannot fully fulfill the order.                   |

**Custom location** opens **Select a warehouse**, with placeholder **Choose a warehouse...**. After you pick one, the panel confirms the warehouse (for example, **Orders will be routed to** the name you selected).

The panel also notes that distance uses exact street addresses when available, and ZIP codes if necessary.

### How OmniOrders decides

The three blocks run in order. Each step either finishes the routing or passes the order to the next step.

1. **Sort locations by distance** to the customer (nearest first).
2. **Complete Shipment** — try one warehouse for the whole order (**Best location only** or **Next best location**).
3. **Split Shipment** — if splitting is allowed, try to spread items across locations (**All in network** or **Not all in network**).
4. **Insufficient Network Inventory** — if the order is still unresolved, send it to **Best location** or **Custom location**.

### Choose a configuration

Use this table if you want a setting without reading every option.

| If you want…                                                      | Set                                                         |
| ----------------------------------------------------------------- | ----------------------------------------------------------- |
| One warehouse only, and only the closest one if it has everything | **Best location only**, **Allow order splitting** off       |
| Try other nearby warehouses before splitting                      | **Next best location** (default)                            |
| Split only when every item exists somewhere in the network        | **Allow order splitting** on + **All in network** (default) |
| Fill what you can even if some items are missing                  | **Allow order splitting** on + **Not all in network**       |
| Send uncovered orders to a warehouse you name                     | **Custom location**, then **Select a warehouse**            |

### Four common outcomes

These four cases cover the usual results. In every split case, the customer still has **one order** and **more than one shipment**.

#### 1. One warehouse has everything

**Setup:** **Next best location** (default). Warehouse A is closest but short on stock. Warehouse B is next and has every item.

**What happens:** OmniOrders skips A, assigns the full order to B, and stops. No split.

**Result:** One order. One shipment from B.

#### 2. The network has everything, no warehouse has it all

**Setup:** **Allow order splitting** on, **All in network**. Each item exists somewhere, but not all in the same warehouse.

**What happens:** OmniOrders assigns lines to the nearest locations that have stock, then creates one shipment per location that received items.

**Result:** One order. Two or more shipments.

#### 3. All in network does not split

**Setup:** **Allow order splitting** on, **All in network**. At least one item is missing from every warehouse in the network.

**What happens:** Splitting is skipped because the network cannot cover 100% of the order. OmniOrders uses **Insufficient Network Inventory** (**Best location** or **Custom location**).

**Result:** One order. One shipment at the fallback warehouse — even though splitting is turned on.

#### 4. Split what you can when stock is incomplete

**Setup:** **Allow order splitting** on, **Not all in network**. Some items exist in the network; others do not.

**What happens:** OmniOrders creates shipments for the stock it found, then sends remaining quantity to the fallback from **Insufficient Network Inventory**.

**Result:** One order. More than one shipment. Remaining quantity is assigned to the fallback location.

### How to read a split order

After import, open the order from **Orders**.

**On the orders list**

The location column can show more than one shipment. OmniOrders shows the first two, then **Show N more** if there are additional shipments. Click a shipment row to open the order on the **Shipments** tab.

**On the Shipments tab**

Each card is a separate shipment. You will see:

| Field                    | What it shows                                                 |
| ------------------------ | ------------------------------------------------------------- |
| **Shipment #**           | The shipment number for that card                             |
| Date                     | When the shipment was created                                 |
| Status badge             | That shipment's own status (not the order's)                  |
| **Facility**             | The warehouse or location assigned to this shipment           |
| **Carrier** / **Method** | Shipping carrier and method on the shipment                   |
| **Shipping Cost**        | Cost stored on that shipment                                  |
| **Items Assigned**       | How many units are on this shipment versus items on the order |
| **Tracking Number**      | Tracking for this shipment, when it exists                    |

Each shipment has its own status and lifecycle. One shipment can move forward while another is still waiting. If there are no shipments, the tab shows **No shipments found for this order**.

## Best Practices

<CardGrid>
  <IconCard title="Start with the defaults" icon="check-circle">
    **Next best location**, splitting on, **All in network**, and **Best location** match the most
    common multi-warehouse setup.
  </IconCard>
  <IconCard title="Turn on Not all in network on purpose" icon="alert-triangle">
    Use it only when you accept leftover quantity at the fallback location. **All in network** will
    refuse to split instead.
  </IconCard>
  <IconCard title="Name a Custom location when you need a backup warehouse" icon="building">
    If uncovered orders should always go to one warehouse, choose **Custom location** and **Select a
    warehouse**.
  </IconCard>
  <IconCard title="Put this action on Before Import Order" icon="download">
    If you do not see **Complex Order Routing** in the sidebar, confirm the trigger is **Before
    Import Order**.
  </IconCard>
</CardGrid>

## Troubleshooting

<CardGrid>
  <IconCard title="I cannot find Complex Order Routing" icon="search">
    The action is listed under **Routing** and only for **Before Import Order**. It will not appear
    on Inventory Sync, PO, or Tracking Update rules.
  </IconCard>
  <IconCard title="Splitting is on, but the order did not split" icon="split">
    If the mode is **All in network** and any SKU is missing from the network, OmniOrders does
    **not** split. Check **Insufficient Network Inventory** — that is where the order went.
  </IconCard>
  <IconCard title="Can I split an order that already exists?" icon="ban">
    No. This action runs only before import. Create the rule first, then import or re-import through
    the channel so the trigger can fire.
  </IconCard>
  <IconCard title="Is a split order several orders?" icon="layers">
    No. It is one order with several shipments. Read them on the **Shipments** tab, not as separate
    order records.
  </IconCard>
</CardGrid>

### Known limits

- **Complex Order Routing** does not change orders that are already in OmniOrders.
- If proximity sorting cannot run (for example the distance service is unavailable), OmniOrders keeps the original location order and continues with the same three blocks.
- This page does not describe how shipment numbers appear on a marketplace or to the end customer. Confirm that in your channel if you need it.
- Remaining quantity under **Not all in network** is assigned to the fallback location. Do not assume a specific "backorder" badge until you confirm it on a real order.

**Related pages:**

- [Rules & Automation Overview](/automation/overview/)
- [Creating & Managing Rules](/automation/managing-rules/)
- [Orders Overview](/orders/overview/)
- [Managing Orders](/orders/managing/)
- [Warehouses Management](/warehouses/overview/)
- [Glossary — Fulfillment Network](/glossary/#fulfillment-network)
Copied to clipboard!