Definition

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).

RuleWhat it prefers
Minimize split fulfillmentsLocations with every item in stock, then the fewest packages
Stay within the destination marketLocations in the same market as the shipping address
Ship from closest locationThe location closest to the address in a straight line, not by road
Use ranked locationsGroups you rank yourself, such as warehouses ahead of stores
Use location metafieldsA 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.

OrderTexas 3PL stockNew York store stockAssigned toRule that decided
1 hoodie400 hoodies12 hoodiesNew York storeShip from closest location
1 hoodie and 1 capBoth in stockHoodies onlyTexas 3PLMinimize split fulfillments
3 hoodies400 hoodies2 hoodiesTexas 3PLMinimize 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.

Get a quote Call: (469) 833-4101

Sources