woo_delist_serial
Hides a gun from the online shop by setting its WooCommerce product to Draft and stock to zero using the serial number. Confirm to delist instantly.
Instructions
Set ONE Serial No's WooCommerce product to Draft + stock 0, hiding that gun 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": {
"serial_no": "<serial_no>"
},
"name": "woo_delist_serial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | retail | |
| confirm | No | ||
| serial_no | Yes |