woo_push_item
Push a WooCommerce product for any item, creating or updating listings. Handles per-serial firearms by pushing each active serial individually and non-firearms as a single product.
Instructions
Push (create or update) the WooCommerce product(s) for an Item. Per-serial firearms push every Active Serial No individually; non-firearm and uniform-price firearms push a single item-level product. For ONE gun use woo_push_serial instead. site: retail | dealer. Consequential ā 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_push_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | retail | |
| confirm | No | ||
| item_code | Yes |