AddSynapse: draft variation prices
plan_variation_pricesAddSynapse: Prepare a DRAFT that changes the prices of the variations of one variable product by a percentage OR an amount, on the regular price, the sale price or both (default both; empty sale prices stay empty), optionally only the variations with an attribute value (e.g. value "L"). 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 prices.
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": {
"product_id": "<product_id>"
},
"name": "plan_variation_prices"
}
}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. | |
| value | No | ||
| amount | No | e.g. 2 = +2.00, -1.5 = -1.50 (shop currency) | |
| percent | No | e.g. 10 = +10%, -5 = -5% | |
| apply_to | No | ||
| attribute | No | ||
| product_id | Yes |