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