Updates the status of the order to cancelled. One DELETE request cancels one order. The path parameter specifies the order to cancel. The 201 response containing the external ID confirms the action.
An external_id identifying a canceled order cannot be reused to create another order.
Responses
400
Returned in case of validation errors. The details are displayed in the error array. Note that the response can return only one error at once.
To ensure a correct validation of a request: - Body of the request must use a structured JSON format. - All mandatory fields must be defined. - Values for fields in the request must match the specific data type and format, including all limitations (e.g., external_id must be unique).
401
Communicates a missing or expired access token for authorization. Currently used also in case of no rights to access the API.
403
🚧 Communicates no rights to access the API. Contact our Customer Solutions team for help. While this HTTP error code is currently not supported the API returns 401.
404
In case the external ID specified in the path parameter doesn't correspond to any order.
500
Returned in case of internal errors, which means the problem is on Paack's side.