Skip to main content
PUT
Update Driver

API Url

Replace {company_name} with your company name and {pk} with the driver ID.

Sample Request

Sample Response

Authorizations

Authorization
string
header
required

Path Parameters

pk
integer
required

Unique identifier of the driver to update.

Body

application/json
account
object
required
contact_number
string
required
Minimum string length: 1
driver_type
string
required
Minimum string length: 1
new_employee_status
string
required
Minimum string length: 1
status
string
required
Minimum string length: 1
is_main
boolean
required
mc_number
integer
required
brith_date
string<date>
required
telegram_number
string | null
driver_license
string | null
driver_license_issue_date
string<date> | null
driver_license_state
string | null
driver_license_expiration
string<date> | null
driver_license_class
string | null
dispatch_status
integer | null

Response

Driver successfully updated.

detail
string
Example:

"success"