Skip to main content

Update License Information

Update driver’s license information.

Request Body

integer
required
Driver ID
string
License number
string
License type/category (e.g., “C1”, “C2”)
string
Issue date (ISO 8601 format)
string
Expiration date (ISO 8601 format)
string
URL or base64 of license front image
string
URL or base64 of license back image

Response

boolean
Update success status
string
Success message
object
Updated license data

Request Example

Response Example

Success

Upload Document Images

Document images are typically uploaded separately using a file upload endpoint (e.g., /conductor/upload_documents.php). The upload returns URLs that are then saved using the update endpoints.

Upload Flow

1

Upload Image

Upload the image file to the document upload endpoint
2

Receive URL

Get the uploaded image URL from the response
3

Update Record

Save the URL to the license or vehicle record using update endpoints

License Document Types

For Colombian driver’s licenses, the following document categories are common:
  • C1: Motorcycles, motor tricycles, and quad bikes
  • C2: Cars, station wagons, vans, motocarros
  • C3: Heavy vehicles (trucks, buses)
  • A1: Motorcycles for public service
  • A2: Cars for public service

License Validation

The API validates license information:
Validation Rules:
  • License number must be unique
  • Expiration date must be in the future
  • Issue date must be before expiration date
  • License type must be valid for the vehicle type

Check License Expiry

Document Verification

Uploaded documents are reviewed by administrators during the driver approval process. Ensure all documents are:
  • Clear and legible
  • Valid and not expired
  • Match the driver’s information

Error Responses

Bad Request
Invalid license data or expired license
Not Found
Driver not found
Internal Server Error
Server error during update

See Also