woo_delist_item
Set a WooCommerce item to Draft with zero stock to instantly hide it from the shop.
Instructions
Set the WooCommerce product for an Item to Draft + stock 0, hiding it from the shop immediately. site: retail | dealer. confirm=true.
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": {
"item_code": "<item_code>"
},
"name": "woo_delist_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | retail | |
| confirm | No | ||
| item_code | Yes |