Skip to main content

List company vehicles

GET 

/api/vehicle/

Retrieves the paginated list of vehicles associated with the authenticated user's company.

Functionality:

  • Returns vehicles sorted by license plate (plate)
  • Supports pagination via query parameters (page, limit)
  • Returned fields: cargo_type, plate, image, itv, vehicle_type, shipping_type, fresh_cargo_temp

Use Cases:

  • Display vehicle list in the administration panel
  • Select a vehicle to assign to a shipment

Example of a successful response:

{
docs: [
{
plate: 1234ABC,
vehicle_type: truck,
image: https://s3.amazonaws.com/vehicles/1234ABC.jpg,
itv: https://s3.amazonaws.com/documents/ITV_1234ABC.pdf,
shipping_type: dry,
cargo_type: [construction, industrial]
}
],
total: 1,
limit: 10,
page: 1,
pages: 1
}

Request

Responses

Vehicle list