5.14 Vehicle Preference Object
A vehicle preference associates a vehicle with rewards.
- Field: vehicle
Required: Yes.
Type: String.
Description: The id of a vehicle.
- Field: fixed_reward
Required: No.
Type: Number.
Default: 0.
Description: A fixed reward for assigning the order to the vehicle.
- Field: weight_reward
Required: No.
Type: Number.
Default: 0.
Description: A weight reward for assigning the order to the vehicle. This reward is multiplied
by the weight of the order.
- Field: volume_reward
Required: No.
Type: Number.
Default: 0.
Description: A volume reward for assigning the order to the vehicle. This reward is
multiplied by the volume of the order.