Vehicles
Endpoints for managing vehicle inventory, including creating vehicle records, updating vehicle information, retrieving vehicle details, and managing vehicle status and configurations.
📄️ Create a new vehicle
Registers a new vehicle in the system. If no supplierId is provided, the first company of the fleet will be used. Vehicle type and capacity information can be specified.
📄️ Get all vehicles
Retrieves a paginated list of vehicles. Supports filtering by plate number, vehicle type, and supplier.
📄️ Get a vehicle by ID
Retrieves detailed information about a specific vehicle including type, company, and rating
📄️ Update a vehicle
Updates vehicle information including details, capacity, and status
📄️ Delete a vehicle
Permanently deletes a vehicle from the system. This action cannot be undone.