Functions
For each line item, create an object containing the product_id as well as a unit_type parameter. Map unit_of_measure of the input to the unit_type of the output like this: