How should a brand decide which warehouse or store fulfils each online order?

Updated:

Order allocation decides which warehouse or store ships each order and reserves the stock for it. Write the rules in a fixed order: first the locations that hold the whole order in sellable stock, then the one closest to the customer, then cost, capacity and channel deadlines as tie-breakers. Decide in advance when an order may be split.

For a brand with a central warehouse, a few regional ones and some stores, this one decision drives the shipping cost per order, the delivery time and how often orders are cancelled for stock. Most allocation problems are rule problems, so settle the rules before you choose or change software.

What is order allocation, and how is it different from routing?

Allocation reserves specific stock at a specific location for an order line. Routing is the rule that chooses the location in the first place. Many tools use the two words loosely. When you compare systems, ask which steps happen without a person and which need a planner to confirm them.

What is the difference between inventory allocation and order allocation?

Inventory allocation decides how much of your stock each channel or location is allowed to sell, before orders arrive. Order allocation decides which warehouse or store ships a particular order once it has been confirmed, and reserves that location's stock for it. Inventory allocation sets the pool each channel sells from. Order allocation draws from that pool, one order at a time.

Inventory allocationOrder allocation
The question it answersHow much stock may each channel or location sell?Which location ships this order?
When it happensBefore orders arrive, and whenever stock is redistributedAfter an order is confirmed
What it decidesUnits of a SKU per channel or locationOne order and its lines
Typical controlsSafety stock per channel, a share of stock per channel, stock held back for storesWhole-order availability, distance to the customer, cost, capacity, dispatch deadlines, split rules

In Fretron CommerceOS, you can hold back safety stock for each channel or publish only a set percentage of your stock to it. For how stock reaches each channel, see inventory sync across channels.

How does order allocation work in ecommerce, step by step?

Order allocation in ecommerce is the step after an order is confirmed: the order management system checks sellable stock at each eligible warehouse or store, chooses one location under the brand's rules, reserves those units for the order and releases it to that location for picking. If the units can't be picked, the order is re-allocated or backordered.

The steps, from confirmed order to pick queue:

  1. Confirm the order. Payment is captured or the cash-on-delivery order is confirmed, and any hold for an address or fraud check is cleared.
  2. Find sellable stock at each eligible location. Count only stock that can be sold: leave out held, damaged, reserved and in-transit units.
  3. Choose the location by your rules. Apply the ranking set for that channel (see the rules below). A marketplace order normally goes to the facility tied to the seller location it came in on.
  4. Reserve the units. The stock is reserved for this order, so another order or channel can't take it, and the quantity offered to channels drops.
  5. Release the order to the warehouse. It joins that location's pick queue, in order of priority and dispatch deadline.
  6. Handle a short pick. If the units can't be found, re-allocate the line to another location, ship what is there and backorder the rest, or cancel, by a rule set in advance.

Allocation is one stage of the order lifecycle, between confirmation and picking.

What are the most common order allocation errors?

  • Allocating against on-hand stock. Held, damaged or already reserved units get promised again.
  • Reserving too late. If stock is reserved at picking instead of at confirmation, two orders can compete for the same unit, which is how overselling starts.
  • Reservations that never release. A cancelled or unpaid order keeps its stock, so the units stay off sale.
  • No rule for a short pick. The order sits in a queue until someone notices it.
  • Splitting by default. Every split order pays a second shipping charge, and a COD order needs two doorstep collections.

How do marketplace deadlines and several warehouses change allocation?

  • Marketplace orders. Each seller location on a marketplace is tied to a registered pickup address, so the location is mostly fixed. Allocation is then about reserving the right stock as soon as the order is confirmed and releasing it to the pick queue by the dispatch deadline, so a short pick is found while there is still time to act. See marketplace dispatch deadlines.
  • Website orders. The brand chooses freely among eligible locations, so the ranking rules below drive the shipping cost and delivery time.
  • Several warehouses. More locations give more choice, but stock is spread thinner, so fewer locations hold the whole order. Rank whole-order locations first to keep splits down, and keep each location's sellable count current with inventory sync.

Can an order management system route each order to the nearest location automatically?

Some order management systems choose the location automatically, for example from the customer's pincode and the stock at each location. Whichever system you use, check four things on your own data: whether it counts sellable stock or total on-hand stock, whether it knows which stores may ship, whether it respects each marketplace's fixed location, and whether a planner can override the choice during a sale.

Why do ecommerce orders ship from the wrong warehouse?

The usual causes:

  • A stale stock count. The system thinks the nearest warehouse has stock that was sold, held or damaged hours ago, so the order goes elsewhere or waits.
  • A default location nobody changed. New SKUs or channels inherit the head-office warehouse.
  • A marketplace location mapped to the wrong facility. Each seller location on a marketplace is tied to a registered pickup address, and the mapping is set once and forgotten.
  • No split rule. Without one, the whole order waits for the single location that holds every item, even if it is far from the customer.
  • Store stock left out. Stores that could ship are not marked eligible, or their stock isn't counted as sellable.

Each of these sends parcels farther than they need to go. Courier rates rise with distance zones, a split order pays two shipping charges, and a longer transit gives a cash-on-delivery buyer more time to refuse the parcel.

How do you write allocation rules for several warehouses and stores?

  1. Define sellable stock per location. Leave out held, damaged, reserved and in-transit units.
  2. Decide which locations may serve each channel. For example, stores may ship website orders but not marketplace orders, and marketplace orders ship from the facility mapped to that seller location.
  3. Rank the eligible locations. First, locations that hold the whole order. Then the one closest to the customer, by courier zone. Then cost, capacity and dispatch deadlines as tie-breakers.
  4. Set a split rule. Allow a split only when waiting would miss the dispatch deadline, and count the second shipping charge.
  5. Set a backorder rule. Decide whether the rest of a part-filled order waits, ships later or is cancelled.
  6. Review weekly. Track the share of orders shipped from a location that wasn't first choice, the split rate and cancellations for stock.

How does Fretron CommerceOS allocate orders?

Fretron CommerceOS is order, warehouse and shipping software for Indian consumer brands, running orders, warehouse and delivery on one live record beside your ERP. There is no prebuilt ERP connector. ERP data moves through Fretron's REST API, webhooks or CSV, with the mapping set up per customer.

  • Orders are confirmed and allocated per facility, with stock reserved first-in-first-out or first-expiry-first-out (FIFO/FEFO).
  • Stock is reserved against the order when it is confirmed and allocated.
  • Each marketplace location is mapped to the facility that fulfils it.
  • An allocated order line can be split across facilities.
  • Orders can be partly shipped, with the rest backordered and re-allocated.
  • Orders carry a priority, including express and delivery-slot modes.
  • A stock hold takes the held stock out of what's offered for sale.
  • Couriers are assigned by rules you set.
  • Order, allocation, pick and dispatch share one record — no hand-off integration to break.

Read more about the order management system, the full Fretron CommerceOS suite, how marketplace orders arrive, and how stock is kept in step in inventory sync across channels.

Frequently asked questions

What is order allocation?
Order allocation is the step in order management that decides which warehouse or store will ship an order and reserves that location's stock for it, so the same units can't be sold or shipped twice.
Why do our ecommerce orders ship from the wrong warehouse?
Usually because the system's stock count is out of date, a default location was never changed, a marketplace location is mapped to the wrong facility, or there is no rule for splitting an order. Each of these sends orders to a farther location, which moves the parcel into a higher courier zone and raises the shipping cost per order.
How should a brand with several warehouses and stores decide which location fulfils each order?
Rank the eligible locations in a fixed order: first those that hold the whole order in sellable stock, then the one closest to the customer, then cost, capacity and dispatch deadlines. Decide which stores may ship online orders at all, and when an order may be split.
When should an order be split across two locations?
Split an order only when waiting for one location to hold everything would miss the dispatch deadline, and count the second shipping charge before you allow it. For cash-on-delivery orders, remember that two parcels mean two doorstep collections.
Does Fretron CommerceOS support split shipments and backorders?
In Fretron CommerceOS, an allocated order line can be split across facilities. Orders can be partly shipped, with the rest backordered and re-allocated.
How does Fretron CommerceOS reserve stock for an order?
In Fretron CommerceOS, orders are confirmed and allocated per facility, with stock reserved first-in-first-out or first-expiry-first-out (FIFO/FEFO). Stock is reserved against the order when it is confirmed and allocated.
How do D2C brands automate courier allocation?
Courier allocation means choosing which courier carries each order. Brands automate it by writing rules in their order or shipping system, for example by payment mode or package weight, with a default courier for any order no rule covers. Once the courier is set, the shipping label and pickup booking follow from that choice. In Fretron CommerceOS, couriers are assigned by rules you set.
Should FEFO be applied at order allocation or at picking?
At allocation first. When an order is confirmed, the system should reserve the batch with the earliest expiry date for each order line, so the right batch is committed before anyone walks to the shelf. A check at the pick scan can be a second control. Both need batch and expiry dates recorded when stock is received. In Fretron CommerceOS, orders are confirmed and allocated per facility, with stock reserved first-in-first-out or first-expiry-first-out (FIFO/FEFO).
How do you stop damaged or quarantined stock from being sold online?
Keep it out of available-to-sell stock. Move damaged, expired or under-inspection units to a hold or quarantine status in the warehouse system, so they still count as on-hand but are left out of the quantity pushed to channels and out of order allocation. Release them only after quality check passes, or write them off. In Fretron CommerceOS, a stock hold takes the held stock out of what's offered for sale.
How does order allocation work in ecommerce?
Order allocation in ecommerce is the step after an order is confirmed: the order management system checks sellable stock at each eligible warehouse or store, chooses one location under the brand's rules, reserves those units for the order and releases it to that location for picking. If the units can't be picked, the order is re-allocated or backordered.
When does order allocation happen in the order lifecycle?
Right after the order is confirmed and before picking. The usual sequence is placed, confirmed, allocated, picked, packed, invoiced, labelled and manifested, then shipped. Allocating at confirmation reserves the stock early, so the same unit can't be promised to a second order while the first waits to be picked.
What happens when an allocated order can't be picked?
Decide in advance which of three options applies: re-allocate the short line to another location with sellable stock, ship what is there and backorder the rest, or cancel the line and tell the customer. Record the reason, since a short pick usually means that location's stock count was wrong. In Fretron CommerceOS, orders can be partly shipped, with the rest backordered and re-allocated.
How do marketplace dispatch deadlines affect order allocation?
A marketplace order usually ships from the facility tied to its seller location, so the location is mostly fixed. What matters is reserving stock once the order is confirmed and releasing it to the pick queue by its dispatch deadline, so a short pick is found in time. In Fretron CommerceOS, each marketplace location is mapped to the facility that fulfils it.
How does Fretron CommerceOS assign couriers?
Couriers are assigned by rules you set. Ekart, ParcelX and Shiprocket are in production use.
What is the difference between inventory allocation and order allocation?
Inventory allocation decides how much stock each channel or location may sell, before orders arrive. Order allocation decides which warehouse or store ships a confirmed order and reserves that location's stock for it. In Fretron CommerceOS, you can hold back safety stock for each channel or publish only a set percentage of your stock to it.
Can Fretron CommerceOS choose the ship-from warehouse by pincode?
Yes. Fretron CommerceOS picks the ship-from warehouse for each order by destination pincode, with a fallback warehouse. In Fretron CommerceOS, an order line can be moved to another warehouse after a serviceability check.

See allocation in Fretron CommerceOS.

Bring a few sample orders and your list of warehouses to the demo, and we will walk through how an order is confirmed, allocated per facility and reserved.

Book a demo →