Draft Order Complete
Complete a draft order.
#UPDATE
#Example of complte a draft order
Request
PATCH /draft-orders/1/complete HTTP/1.1
Response
HTTP/1.1 202 Accepted
Validation Errors
400 Bad Request
"Draft order cannot be completed. Unknown error."
Possible causes:
- An unknown error has occurred, please try again later.
400 Bad Request
Draft order cannot be completed. Only 'draft' and 'checked' are allowed.
Possible causes:
- It is not permitted to mark the order as complete, the order status does not allow this.
400 Bad Request
Conflict: This draft is currently in use and is being imported by another process. Please ensure that you do not import drafts multiple times and wait for the import process to complete until you receive a success or error message.
400 Bad Request
The master has no active productions. Please contact the master to activate the productions.