Accept allow_fractional_quantity in API