deleteProduct
Delete a shop product together with its options, so members can no longer see or buy it. Deleting is permanent and cannot be undone; orders already placed for it stay. Returns the product as it was before the delete. Get productId from getProducts. Never invent UUIDs; only use values from prior tool responses.
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": {
"productId": "<productId>"
},
"name": "deleteProduct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The id of the product. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes |