Trading
Cancel all of a user's orders in a specific market
Changed ondelete/orders/all/{slug}
Request
- Base URLhttps://api.limitless.exchange
- AuthAPI key in header lmts-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
All orders successfully cancelled
Example response
{
"message": "Orders canceled successfully",
"canceled": [
"611badac-8dfc-48a0-b09e-59654adea1c5"
],
"failed": [
{
"orderId": "b53f0e4b-1529-45cc-ad39-e27f4c6eab5a",
"reason": "ORDER_NOT_FOUND",
"message": "Order not found or already canceled"
}
]
}Changes
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the non-success response with the status
- info