Update or Create a Vehicle
ID for the Vehicle. This is a 32-character string. If not provided, the call is treated as a Create request.
Float. How much per distance (mile/km) it costs your business to run this vehicle. It doesn't matter whether it's miles or kilometers as long as you are consistent.
Float. How much you charge your customers for distance traveled.
String. A description of the vehicle.
String. Registration number of the vehicle.
FM_api( 'Vehicle_update', [ 'cost_per_distance' => '0.36', 'price_per_distance' => '0.50', 'description' => 'red car with four wheels', 'reg' => 'ABC 123', ] );