[#51819079] Updated order create endpoint to handle multiple line items on the new order.

This is the same as #39 applied to the webapp branch,