delete_product
Mutation/readOnly:false, script-tier/no-model-token action. Delete a product from the storefront. A product that already has orders is hidden instead of deleted, so order history stays intact. A product synced from the connected store cannot be deleted here. Call list_products first for the itemId. Storefront Pro.
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": {
"itemId": "<itemId>",
"proAccessToken": "<proAccessToken>"
},
"name": "delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The product id from list_products. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |