Once you add a second location, such as a warehouse in the north and one in the south, Shopify has to decide which one ships each order. That decision is order routing, and the default isn’t always the one you’d make yourself.
The default
With no rules set, Shopify tries to avoid splitting an order, keeps it within the buyer’s market where it can, and then prefers the closest location. If two locations tie, it picks the older one.
Setting your own rules
Go to Settings › Shipping and delivery and open “Order routing” in the Shipping section. Click “Add rule” and choose one of three:
- “Use ranked locations”: you put locations in order of preference, for example your main warehouse first and the shop second.
- “Ship from closest location”: Shopify picks the location nearest the buyer’s address.
- “Minimize split fulfillments”: Shopify prefers a location that has everything in the order.
Rules apply in order, top to bottom, and you can drag them to change the order. Shopify uses the second rule to break ties in the first, and so on.
Routing only does something if you have at least two active locations with “Fulfill online orders from this location” turned on in Settings › Locations.
Things routing won’t do
Routing doesn’t stop overselling. If no location has the item, Shopify can still assign the order to one so you don’t lose the sale, and you’ll need to transfer stock or contact the buyer.
Orders still split when no single location has everything. A buyer ordering a sofa from one warehouse and cushions only stocked in the other will get two shipments, and you pay for both.
“Ship from closest location” skips addresses that can’t be verified, which is common with new developments or addresses typed in an unusual format.
Shipping rates and split orders
Routing decides where an order ships from after checkout, but the shipping rate was already charged at checkout. If a split means two parcels, you pay twice while the buyer paid once. Shipping profiles set by location can help, and if split shipments are common, it’s worth charging for them through your rates. Our guide to shipping rates by product covers how profiles and locations interact.
Sources
- Order routing, Shopify Help Center (checked Dec 2026)
- Setting up order routing, Shopify Help Center (checked Dec 2026)
- Locations, Shopify Help Center (checked Dec 2026)