Skip to content

updateVehicle

Mutation

Update a vehicle type.

You cannot update the name of a vehicle.

mutation {
updateVehicle(
organisationId: UUID!
vehicleId: UUID!
vehicle: VehicleInput
): Void
}
ArgumentTypeDefaultDescription
organisationId*UUID!The ID of the organisation
vehicleId*UUID!The ID of the vehicle
vehicleVehicleInputThe input containing the updated vehicle details

Void (Void)

mutation UpdateVehicle($organisationId: UUID!, $vehicleId: UUID!, $vehicle: VehicleInput) {
updateVehicle(organisationId: $organisationId, vehicleId: $vehicleId, vehicle: $vehicle)
}