delete_store_order
Permanently delete an e-commerce order from a store. This action removes the order and its lines and cannot be undone.
Instructions
Permanently delete an e-commerce order from a store.
This removes the order and its lines and cannot be undone. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync orders automatically.
Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. order_id: Order ID to delete.
Returns: JSON confirming deletion (empty body on success) or an error object.
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": {
"store_id": "<store_id>",
"order_id": "<order_id>"
},
"name": "delete_store_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| order_id | Yes | ||
| store_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |