Delete Purchase Item
delete_purchase_itemUse this when working with RetailHardHat purchase_lists records in the connected organization. Delete a purchase item. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.
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": {
"siteId": "<siteId>",
"purchaseItemId": "<purchaseItemId>"
},
"name": "delete_purchase_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| purchaseItemId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |