Fixed the methods for the create order and update order endpoints