delete_store_order_line
Permanently delete a line item from an e-commerce order using store, order, and line IDs. This action removes the item and cannot be undone.
Instructions
Permanently delete a line item from an e-commerce order.
This removes the line from the order and cannot be undone. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync order lines automatically.
Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. order_id: Order ID that owns the line. line_id: Line item 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>",
"line_id": "<line_id>"
},
"name": "delete_store_order_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| line_id | Yes | ||
| order_id | Yes | ||
| store_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |