AddSynapse: draft a stock update
plan_stock_updateAddSynapse: Prepare a DRAFT that sets the stock quantity, stock status (instock, outofstock, onbackorder) and/or stock tracking (manage_stock) of simple products or variations (use their own ids). Setting a quantity turns tracking on. Changes nothing by itself. A preview card with the draft and an Approve button appears in the chat; nothing changes on the site until the user presses Approve there (or on the AddSynapse Changes page when the card has no Approve button). Undo restores the exact previous stock. Put every edit of this request in ONE call (up to 100 products or variations) — the user approves them together with one click and can undo them together; never one call per item.
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": {
"items": "<items>"
},
"name": "plan_stock_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| items | Yes |