--- title: "Zeo Route Planner API - Get Route Create for Driver by Store Owner | Fleet Management & Route Optimization API" author: Zeo Route Planner Team description: “This endpoint lets you check routes that a store owner has created and assigned to a driver. It bridges visibility between managers and drivers.” tags: [API documentation, get route create for driver by store owner, fleet management, route optimization, route management, Zeo, file upload] url: https://api.zeorouteplanner.com/get-route-create-for-driver-by-store-owner.html canonical_url: https://api.zeorouteplanner.com/get-route-create-for-driver-by-store-owner.html layout: page --- # Get Route Create for Driver by Store Owner API Endpoint **API Docs / Store Owner Api's / Get Route create for driver by store owner** This endpoint gets route for drivers by store owners. Include the query parameters such as start_address, end_address, and driver_email, and upload the file to obtain a particular route. {{base_ur}}="https://zeorouteplanner.com/" #### HTTP Request **POST** `{{base_url}}/api/v5/routes/import_orders` #### Query Parameters | Parameter | Default | Description | |-----------|---------|-------------| | `api_key` | `""` | Api Access key (Go to page Website url login into store owner account then Go to page Settings pageselect get api token and generate api_key) | | `start_address` | `""` | start address of route | | `end_address` | `""` | end address of route | | `driver_email` | `""` | email of driver | | `file` | `""` | upload file in xlsx format you can download by clicking on the link(Sample file link) | ## Sample Request **Copy Code** ```bash curl --location --request POST '{{base_url}}/api/v5/routes/import_orders' \ --header 'Content-Type: multipart/form-data' \ --form 'start_address=""' \ --form 'end_address=""' \ --form 'driver_email=""' \ --form 'api_key=""' \ --form 'file=@"/path/to/file"' ``` ## Response The above command returns JSON structured like this: **Copy Code** ```json { "code": 200, "status": true, "message": "success", "data": { "route": { "id": 104244, "start_address": "Delhi", "end_address": "Delhi", "start_latitude": 28.7040592, "start_longitude": 77.1024902, "end_latitude": 28.7040592, "end_longitude": 77.1024902, "created_at": "2021-09-27T06:18:29.000Z", "route_name": "2021-Sep-09", "route_stops": [ { "id": 16921825, "address": "Delhi", "latitude": 28.7040592, "longitude": 77.1024902, "notes": "test", "optimize_status": "normal", "stop_duration": 5, "customer_name": "ayush", "customer_mobile_number": "7838479870", "street": "", "city": "", "state": "Delhi", "country": "India", "postal_code": "", "customer_email": "ayush@gmail.com", "order_number": null, "order_status": "route_created", "h_no": "", "locality": "" } ] } } } ```