Convert or reject draft order
PUT/draftOrders/:draftOrderId/status
Convert a draft order into an actual order or reject it.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 422
Indicates a successful change of status of the draft order to the partner's system server.
Request data is incomplete or malformed
Access token is missing or invalid
Access denied
Draft order could not be found
The Coolblue server could not process the requested status change. The current status of the draft order as well as the reason for failure is included in the response body. A potential reason for failure could be that the draft order is in a state from which the confirmation cannot be processed (e.g. expired, or already converted), or that the company's payment type changed after the draft order was created.
Request body contains invalid data.