Single pickup, multi drop off

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.

Hi @slavo,

As of today we don’t have the multi-pickups feature available so you can only use one pickup and multi-dropoff points. That’s why the best way to achieve multi-drop in your example is the following:

job: {
  pickups: [
    { address: "LocationA", comment: "Comment about all the package picked at LocationA", contact: "Main Contact" },
  ],
  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" }
  ]
}