GuidesAPI Reference
Guides

Fleet Optimization Package tutorials

This section provides a simple tutorial outlining the usage of the services in the Fleet Optimization Package. API requests are sketched using cURL below.

Scenario

A customer has a list of shipments to deliver and wants to create optimized tours visiting all delivery locations. The following data is available for each shipment:

Example (tabular format like CSV would be a good fit):

    address                         time window start   time window end     weight
    Invalidenstr. 116, 10115 Berlin 30.06.2023 14:00    30.06.2023 16:00    10
    Potsdamer Platz 1, 10785 Berlin 30.06.2023 12:00    30.06.2023 14:00    5
...	

Steps

The following tutorials outline the steps you can use to create and route your fleet tours.

  1. Get your coordinates: Use the Geocoding v7 API to get coordinates (latitude, longitude) for shipment addresses and depot location(s), which are required in the next step to create tours.
  2. Create your optimized tours: Use the Tour Planning API to create tours.
  3. Plan your routes: Use the Routing v8 API to get routes.