ordercloud.orders.delete
Deletes an OrderCloud order by order ID and direction (Incoming or Outgoing), removing obsolete or incorrect orders from the system.
Instructions
Delete an OrderCloud 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": {
"direction": "<direction>",
"orderId": "<orderId>"
},
"name": "ordercloud.orders.delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID to delete | |
| direction | Yes | Order direction |