cURL
curl --request POST \ --url https://api.unihop.app/v1/orders/{uid}/cancel \ --header 'Authorization: Bearer <token>'
{ "message": "Order cancelled successfully", "uid": "<string>", "data": { "status": "Canceled", "partner_reference": "<string>", "cancelation_fee": { "value": 123, "currency": "<string>" } } }
Deletes a single ord based on the UID supplied
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
UID of the order to delete
Order cancelled successfully
"Order cancelled successfully"
The job ID of the cancelled order
Show child attributes