create order

Added a createOrder function in line with the orders POST.