ReDoc documentation

orders/{orderId}/edit/submit

orders/{orderId}/edit/submit

Submit an edited quote as a new order, replacing the original order. The quote must have a payment method set before calling this (use PUT /V1/carts/:quoteId/selected-payment-method). On success: - A new order is created from the quote - The original order is cancelled - The two orders are linked via relation_parent_id / relation_child_id - The new order gets an increment ID of the form {originalIncrement}-{n}

Request
path Parameters
orderId
required
integer

The original order being edited

Request Body schema:
quoteId
required
integer

The quote ID returned by startEdit

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

post/V1/orders/{orderId}/edit/submit
Request samples
{
  • "quoteId": 0
}
Response samples
0
0