This part of the code sample explains how to create and optimize a route consisting of orders that are picked up and delivered at any location.
You can specify the following:
- Different customer locations
- Pickup-delivery orders that are carried out between customer locations
- Duration it takes to execute a pickup or delivery task
- Route related costs
All the specifications are automatically inserted into the request body on the right side of the JSON representation.
Note:
For more information about pickup-delivery orders refer to orders concept page