delete_product
Permanently delete an order bump product that has never been bought. A product still offered on a page is refused unless fromAllPages is true. Page products cannot be deleted here. Destructive and irreversible: confirm with the user, and prefer update_order_bump with enabled: false to stop offering it.
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": "delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The ID of the order bump product to delete. | |
| fromAllPages | No | Also remove the order bump from every page that offers it. Without it, deleting a product that is still offered on a page is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |