Delete order
delete_order⚠️ Irreversible: this archives the order; it cannot be restored afterwards. Delete (archive) an order
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>"
},
"name": "delete_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | The user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me). | |
| orderId | Yes | The order ID to delete |