Win back the most expensive mile of every delivery
The Pick-up and Delivery Routing API turns the day's orders into dense, on-time routes from your depots to your customers' doors. It respects every delivery window, vehicle capacity, and driver shift, and replans in seconds when the day changes.




The last mile is where delivery margins disappear
The last mile is the shortest leg of a parcel's journey and the most expensive one, at more than half of total shipping costs. Every failed first attempt adds a second trip, another driver hour, and a customer who may not order again. Our Pick-up and Delivery Routing API raises stop density, protects every promised window, and plugs into the delivery management system you already run.
Built for the daily reality of last-mile operations
Hundreds of stops per depot, tight delivery slots, mixed vehicles, and a plan that changes before the first van leaves the yard. Embed an API that handles all of it.
Hundreds of stops, one depot, every morning
Assign and sequence every parcel across your fleet in one solve, so routes stay dense and drivers don't cross into each other's areas.
Delivery slots customers can count on
Plan every drop inside its promised window, and only offer customers the slots your drivers can actually make.
Mixed fleets and capacity limits
Match every load to a vehicle with room for it, by weight, volume, or any capacity type you track, plus the skills a delivery needs.
A plan that changes before lunch
Add late orders, cover a driver who calls in sick, and reroute around delays in real time, without reshuffling routes already underway.
Results on the ground
What last-mile route optimization with the Pick-up and Delivery Routing API delivers.
Drops per driver
Driving time
On-time deliveries
To absorb a new order
One engine, every last-mile constraint
Delivery time windows
Schedule each drop-off inside the window the customer agreed to.
Vehicle capacity
Balance each driver's load against vehicle capacity.
Reactive job handling
Instantly reoptimize schedules when emergencies or last-minute requests come in without breaking existing plans.
Priority and optional jobs
Always serve must-do orders and drop low-value ones gracefully under load.
Fairness & workload balance
Distribute work evenly, respect shift limits, and reduce overtime to protect your workforce.
Geofencing & area coverage
Keep your mobile workforce working within defined zones to reduce travel and maximize local efficiency.
FAQ
Do you have questions? We have answers.
The shortest path is only the start. Every parcel also has to go to a driver whose vehicle has room for it, arrive inside the window the customer was promised, and fit within that driver's shift and breaks. Move one stop to another van and the arrival times, load, and finish time of both routes change. That is a constraint problem across the whole fleet, not a shortest-path problem.
Hard rules come first and are never traded away, such as vehicle capacity and the skills a delivery requires. Next, the model assigns as many jobs as possible, with priority jobs ahead of optional ones. Within that, it keeps deliveries inside their time windows and service level agreements (SLAs), cuts travel time or distance using real road data from the maps service, limits overtime, and spreads work fairly across drivers. Every constraint weight is configurable, so you can tune the trade-offs to your own goals.
The plan stays feasible instead of breaking a rule. Mark jobs as priority or optional, and the model serves the must-do deliveries first and leaves the lowest-value ones unassigned. Unassigned jobs are reported clearly, so dispatch sees exactly which parcels need another driver, another day, or a carrier.
Yes. Send the current state and the model replans. Completed and in-progress stops stay pinned, so drivers keep the route they are working from. The model adds late orders, reassigns work when a driver calls in sick, and absorbs a stop that runs long or a customer who isn't home, while changing as little of the rest of the plan as possible.
Yes. The recommendations API checks a new order against the current plan and returns the time windows in which your drivers can actually complete it. Show those slots at checkout, and customers only pick windows you can keep, which means fewer missed deliveries and fewer second attempts.
No. Timefold sits as an optimization layer between the systems that hold your orders, depots, vehicles, and drivers, such as an order management system, warehouse management system, or delivery management platform, and the driver apps that execute the plan. It reads that data through a REST API and returns an ordered route per driver. Your existing systems stay in place.

When scheduling works, everything works.
Less waste. More control. Teams that trust the plan.