Hi, we are trying to implement support for “multi-drop”, meaning we’d like a driver to pick up multiple packages from one location and then deliver them to multiple locations. In your opinion, what would be the best approach?
Suppose we want to pick up 3 packages in LocationA
and deliver them to 3 different people. 2 of the packages should go to LocationB
and the last package should go to LocationC
.
job: {
pickups: [
{ address: "LocationA", comment: "Contains Hot Food", contact: "Company A" },
{ address: "LocationA", comment: "Do Not Rotate": contact: "Company B" },
{ address: "LocationA", comment: "Fragile": "Company C" }
],
dropoffs: [
{ address: "LocationB", client_reference: "P1", comment: "Contains Hot Food", contact: "Ashley" },
{ address: "LocationB", client_reference: "P2", comment: "Do Not Rotate", contact: "Bob" },
{ address: "LocationC", client_reference: "P3", comment: "Fragile", contact: "Jessica" }
]
}
Is the above correct, or is there a better / more efficient way to achieve this?
Many thanks.