cURL
curl --request DELETE \ --url https://api.tradearies.dev/v1/orders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "orderId": 123 }'
{ "orderId": 123, "status": "<string>" }
Cancel an existing order
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Order cancelled successfully
The response is of type object.
object
Was this page helpful?