--- title: "Zeo Route Planner API - Update Driver | Fleet Management & Route Optimization API" author: Zeo Route Planner Team description: “Edit driver details—like contact info, status, or availability—directly through the API. This keeps records accurate and current.” tags: [API documentation, update driver, fleet management, route optimization, driver management, Zeo] url: https://api.zeorouteplanner.com/update-drivers.html canonical_url: https://api.zeorouteplanner.com/update-drivers.html layout: page --- # Update Driver API Endpoint **API Docs / Store Owner Api's / Update Driver** This endpoint updates driver details. Add the driver's name, address, phone number, and email address to the query parameters to update a specific driver. **Base URL:** `https://zeorouteplanner.com/` #### HTTP Request **PUT** `{{base_url}}/api/v5/drivers/:driver_id` #### Query Parameters | Parameter | Default | Description | |-----------|---------|-------------| | `api_key` | `""` | Api Access key | | `address` | `""` | Driver Address | | `name` | `""` | Name of driver | | `password` | `""` | Password for driver account | | `phone_no` | `""` | Contact no of driver | | `driver_id` | `""` | Driver id we get from all driver api's | ## Sample Request **Copy Code** ```bash curl --location -g --request PUT '{{base_url}}/api/v5/drivers/:driver_id' \ --header 'Content-Type: application/json' \ --data-raw '{ "api_key": "api_key", "name": "nishu jain", "address": "", "phone_no": "8959294300" }' ``` ## Response The above command returns JSON structured like this: **Copy Code** ```json { "code": 200, "status": true, "message": "Driver updated successfully", "data": { "driver": { "id": 44953, "name": "nishu jain", "phone_no": "8959294300", "address": "dlehi", "email": "testthird1@gmail.com", "active": true } } } ```