Update an order

Use /orders/:orderId endpoint to update an order.

In order to complete payment, an order needs to have the paymentMethodId field completed. Provide it on order creation or in order update.
Read more about paymentMethodId

Order can be also updated with couponCode - the offer price will be updated in response.

Click Try It! to start a request and see the response here!