Skip to main content
POST
/
cancel-all-orders
Cancel all pending orders
curl --request POST \
  --url https://v2.55-tech.com/cancel-all-orders \
  --header 'X-API-Key: <api-key>'
{
  "status": "<string>",
  "cancelledCount": 123,
  "cancelled": [
    {}
  ],
  "notCancelled": {
    "reason": "<string>",
    "orders": [
      {}
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Contact contact@55-tech.com to obtain a key.

Response

Cancellation result

status
string

'cancelled'

cancelledCount
integer

Number of orders cancelled

cancelled
object[]

Cancelled orders with enriched details

notCancelled
object

Orders that could not be cancelled