cURL
curl --request POST \ --url https://api.parceltracer.com/v1/external/orders/{order_id}/cancel/ \ --header 'X-Api-Key: <api-key>'
{ "error": "true", "message": "Validation failed.", "details": "delivered orders can not be cancelled" }
Cancel an order identified by order_id. If it is not possible to cancel the order, 400 error code will be returned.
order_id
No response body