DELETE
/
v1
/
orders
Cancel Order
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>"
}

Authorizations

X-API-Key
string
header
required
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Order cancelled successfully

The response is of type object.