Order routing is the set of rules that decides which location fulfills each order. In Shopify, it needs 2 or more active locations, and the default rules try to ship from a single location, stay in the customer's market and use the closest location.
How Shopify routes an order
Shopify runs your routing rules from top to bottom, and each rule narrows the locations left by the one before it. The default strategy uses the first three rules below, in this order (Shopify Help Center, as of November 2026).
| Rule | What it prefers |
|---|---|
| Minimize split fulfillments | Locations with every item in stock, then the fewest packages |
| Stay within the destination market | Locations in the same market as the shipping address |
| Ship from closest location | The location closest to the address in a straight line, not by road |
| Use ranked locations | Groups you rank yourself, such as warehouses ahead of stores |
| Use location metafields | A value you set per location, such as a capacity flag |
Routing only applies with 2 or more active locations. With one 3PL holding all of your stock, every order goes to it.
A worked example with a 3PL and a store
Example locations and stock: a 3PL warehouse in Texas and your own store in New York, both set to fulfill online orders, default rules, every order shipping to New Jersey.
| Order | Texas 3PL stock | New York store stock | Assigned to | Rule that decided |
|---|---|---|---|---|
| 1 hoodie | 400 hoodies | 12 hoodies | New York store | Ship from closest location |
| 1 hoodie and 1 cap | Both in stock | Hoodies only | Texas 3PL | Minimize split fulfillments |
| 3 hoodies | 400 hoodies | 2 hoodies | Texas 3PL | Minimize split fulfillments |
Watch the first row: a store set to fulfill online orders takes single-item orders near it, and your team ends up packing them. If you want the 3PL to ship every online order, turn off online fulfillment at the store location.
Where routing goes wrong
- If no location can fill the whole order, Shopify splits it across locations or lets the highest-priority location oversell. See split shipment and overselling.
- A warehouse should take only the orders Shopify routes to its location, unless it holds all of your stock. Otherwise two teams can pack the same order.
- Each extra location needs its own stock, and our break-even guide models when a second warehouse pays for itself.
Selling on Amazon from the same stock adds a second channel to the same shelf. See Shopify and Amazon from one warehouse.
One location at Orderfy
Our warehouse is in the center of the US (Dallas-Fort Worth), so ground shipping from one location reaches both coasts quickly. Our native Shopify app sends orders to Orderfy WMS, our proprietary inventory software, within minutes.
Frequently asked questions
It can. Ship from closest location is part of the default strategy, but it runs after Minimize split fulfillments, so a farther location with every item beats a closer one with some. Check your own routing settings, since a store's rules can differ from the default.
No. Routing needs 2 or more active locations, and Shopify says a store using a fulfillment service for all of its orders doesn't need to change its locations. Keep an office or showroom location from fulfilling online orders.
Yes. In Shopify's example, Location A ranks first with 1 shirt and Location B has 2, and an order for 3 shirts goes to Location A, which ends at -2.
Get a quote from Orderfy
Send your monthly order volume and what you ship, and we'll build an itemized quote.