This part of the code sample explains how to create and optimise a route that takes into account the desired position of customers' stops within the trip.
You can specify the following:
- Customer location
Note: In this code sample a maximum of 10 customer locations are allowed. - Trip section number or position in trip setting of specific customer locations
All the specifications are automatically inserted into the request body on the right side of the JSON representation.
Note:
- For more information about the position of customer stops within the route refer to trip sections and position in the trip concept.
- To delete the previously created plan, use the code sample Route optimisation - Delete plan.