How auto-allocation rules and splits work
Last reviewed on by DeltaVelocity team
The short answer
Picking a courier by hand for every order slows dispatch and lets human bias creep into freight spend. Auto-allocation applies your exact cost, speed, rule, and split preferences seconds after an order arrives.
Read the courier allocation and routing overview or follow how to turn on auto-allocation when ready to switch it on.
How orders enter auto-allocation safely
Shopify orders and manual or bulk-uploaded orders trigger event-driven auto-allocation automatically. Unicommerce and EasyEcom orders work differently: those warehouse systems call DeltaVelocity's carrier API and receive a courier allocation synchronously during packing.
Before touching a courier API, DeltaVelocity takes a durable claim on the order row. If an ops manager clicks book in the dashboard at the exact second auto-allocation starts, only the holder of the claim proceeds. No order books twice.
If you enable pre-dispatch WhatsApp confirmation, auto-allocation pauses matching orders in AWAITING_CONFIRMATION. Booking resumes only after the buyer confirms, updates the address, or passes your auto-ship timeout.
Five allocation strategies
DeltaVelocity lets you choose one primary ranking strategy for your brand:
| Strategy | How DeltaVelocity picks the courier |
|---|---|
| Recommended | Combines 70 percent TAT and 30 percent freight for balanced speed and cost |
| Cheapest | Picks the serviceable courier with the lowest calculated freight |
| Fastest | Picks the serviceable courier with the shortest lane TAT |
| Brand preferred | Runs your priority override rules before falling back to ranking |
| Load distribution | Splits volume across couriers to hit your target percentages at lowest total freight |
Priority override rules and allocation traces
Most D2C brands need exceptions for heavy parcels, high-value COD orders, or fragile SKUs. Override rules let you combine nested AND and OR groups across 15 condition operators and 17 order fields.
Supported fields include channel, order value, payment mode, shipping city, state, pincode, warehouse name, shipment weight, financial status, SKU ID, SKU name, and quantity. Operators cover exact match, contains, starts with, ends with, not in, empty checks, and numeric comparisons.
Every allocation records a full decision trace. When someone asks why an order went to Delhivery instead of Ekart, open the trace. It shows which rule matched and which couriers failed serviceability.
Accurate courier splits with CP-SAT optimization
Simple random splits drift wildly on small daily volumes and often assign expensive lanes to the wrong carrier. DeltaVelocity's load distribution uses an OR-Tools CP-SAT solver to hit your configured courier percentages while minimizing total freight cost across the batch.
The solver respects fixed override rules first, subtracts those orders from each courier's target, and distributes the remaining orders cleanly. It keeps splits accurate across bulk booking batches and single-order auto-allocation windows alike.
Clear reason codes when an order blocks
Auto-allocation never hides a stuck order. When a prerequisite fails, DeltaVelocity marks the order as blocked or failed with a specific reason code, such as:
SKU_DIMENSIONS_MISSINGwhen an item lacks valid box or product dimensions.NO_SERVICEABLE_COURIERwhen no active courier covers the lane or payment mode.WAREHOUSE_INACTIVEorWAREHOUSE_NOT_ENABLEDwhen the target pickup hub needs activation.BOOKING_REFUSEDwhen a courier rejects the shipment payload.
Fix the underlying SKU, address, or warehouse setting and re-run booking in one click. See how to set allocation rules and courier splits for step-by-step setup.
Frequently asked questions
Which channels use event-driven auto-allocation in DeltaVelocity?
Event-driven auto-allocation runs on Shopify and manual or bulk-uploaded orders. Unicommerce and EasyEcom allocate synchronously through DeltaVelocity's carrier API.
How does DeltaVelocity stop an order from booking twice?
Every booking attempt acquires a durable database claim on the order first. That claim blocks manual and automatic flows from booking the same order twice.
What happens when auto-allocation cannot book an order?
The order stays visible in your dashboard with an exact reason code, such as missing SKU dimensions or no serviceable courier. Your team can fix it quickly.
Related
Ship with DeltaVelocity
Connect your store, compare couriers and track COD remittance from one dashboard.