Skip to main content

Create New Vehicle

POST 

/truckers/vehicles/

Register a new vehicle in the authenticated carrier's fleet. Allows uploading vehicle images that are stored in Amazon S3.

Required fields:

  • licensePlate: Vehicle license plate
  • type: Vehicle type (must exist in the system)

Use cases:

  • Add new vehicles to the fleet
  • Register newly acquired vehicles
  • Update fleet with new units

Request example:

{
licensePlate: 1234ABC,
type: RIGID,
brand: Volvo,
model: FH16,
year: 2022
}

Notes:

  • Images must be sent as multipart files
  • Maximum size per image is 5MB
  • Supported formats: JPG, PNG

Request

Responses

Vehicle successfully created