Sync Master
Blog

Order Routing Basics: Which Location Ships the Order

Multi-locationOperations

Summary

Run multiple locations and Shopify decides automatically which warehouse fulfills each order. Here is how Shopify picks the ship-from location, and how to nudge that choice the way you intend.

Once you hold inventory across several locations — warehouses or stores — a question naturally arises: which warehouse actually ships this order? Even when a customer buys just one item, Shopify quietly decides behind the scenes which location should commit the stock and send the package.

That decision is called order routing. If you don't understand how it works, you can end up shipping from an unexpectedly distant warehouse and paying more in postage, or watching another location get picked even though the stock you expected was sitting right there. In this article we walk through, as plainly as possible, the criteria Shopify uses to choose the ship-from location — and how to nudge it toward what you intend.

How the ship-from location is decided

When an order comes in, Shopify automatically decides which location should commit each item. It isn't a single rule but a combination of factors. Broadly speaking, three things matter: whether stock is available, how close the location is to the destination, and the location priority order you have configured.

The foundational rule is that only a location that actually stocks the item can be chosen. If a product isn't stocked at a location, that location is never a ship-from candidate, no matter how close it is. From there, Shopify prefers a location near the delivery address while trying to avoid stockouts. When a single order contains several items and each is only stocked at a different location, the order may be split across locations (a topic we leave for a separate article).

What the location priority order means

Under Settings > Locations in the admin, you can arrange your locations top to bottom. This order isn't just cosmetic — it factors into order routing. When conditions such as distance to the destination are close, this priority acts as a tiebreaker for which location gets chosen.

For example, keep your main warehouse at the very top and it becomes more likely to win among several comparable locations. Conversely, you can place a consignment warehouse you'd rather avoid further down the list. Priority isn't all-powerful, though: if another location with stock is much closer to the destination, it may still be selected. Think of priority as one input that matters when conditions are otherwise close.

Fallback behavior when stock is missing

What happens when your preferred location has no stock? In that case Shopify falls back to the next location that does hold the item. So even the top-priority warehouse will be skipped if its quantity is zero, and a different stocked warehouse is chosen as the ship-from instead.

This is where the accuracy of each location's quantity comes into play. If a warehouse shows stock in the system when it really has none, Shopify will pick it as the ship-from — and the floor team discovers an empty shelf, forcing a reassignment. Conversely, if stock exists but is recorded as zero, a perfectly good nearby warehouse drops out of the running. The bedrock of correct routing is per-location quantities that match reality.

Tips to steer the ship-from as you intend

Although it is decided automatically, you can still exert real control from the operations side. The idea isn't to hand-pick every order, but to shape the conditions so Shopify judges correctly.

  • Revisit the location order: put frequently used warehouses up top and supporting ones lower
  • Limit which locations stock a product: don't keep stock of it at warehouses you don't want shipping from
  • Keep each location's quantity accurate: zero should truly mean zero, and on-hand counts should match reality
  • After fulfillment, manually change the assigned location per order if you need to

The second point is especially effective. If you want a certain product to ship only from one warehouse, simply don't stock it at the others, and structurally it can only ship from that one place. Keeping a warehouse out of the candidate pool entirely is a far more reliable way to prevent mis-shipments than trying to demote it by priority.

Keeping routing and quantities consistent

As we have seen, the accuracy of order routing hinges heavily on how well each location's quantity matches reality. The more locations you add, the harder it is to maintain that consistency by hand. When several warehouse staff update numbers independently, discrepancies appear almost immediately.

This is where treating a Google Sheet as the source of truth for inventory helps. Our app, Sync Master, writes the per-location quantities from your sheet into each Shopify location automatically. It supports multiple locations (multi-warehouse), so a single sheet can centrally manage stock per location. It also offers a connection test to validate your column mapping before any real write, and scheduled automatic syncs — a good fit for keeping quantities correct and laying a solid foundation for routing.

How to investigate an unexpected ship-from

If you ever think, why did this order ship from such a distant warehouse, don't panic — work through these steps in order.

  1. 01Check the assigned location on the order detail page
  2. 02Confirm whether the nearby warehouse you expected actually had a quantity of one or more for that item (zero means it gets skipped)
  3. 03Confirm the item is stocked at the nearby warehouse and that inventory tracking is enabled there
  4. 04Review the location priority order on the settings screen to confirm it matches your intent
  5. 05If a quantity discrepancy is the cause, correct the sheet and re-sync to normalize future assignments

Most unexpected ship-froms come down to a quantity discrepancy per location. In the vast majority of cases, the nearby warehouse was treated as zero-stock and therefore skipped. Once you identify the cause, manually reassign the order at hand, then fix the underlying sheet and re-sync so the same thing doesn't recur.

Order routing is a convenient mechanism Shopify handles quietly in the background. But the quality of its decisions depends on the accuracy of the inventory data you feed it. Design your location order and your stocking decisions deliberately, and manage quantities firmly from a single source of truth — nail those two and the ship-from will move much closer to what you intended.

Related reading

Other articles you might like

Stop pasting stock numbers by hand.

Install Sync Master on Shopify and run your first sync in under five minutes.