AddSynapse: draft a price change
plan_price_updateAddSynapse: Prepare a DRAFT that changes product prices — use it also for ONE product. Which products: product_ids or skus (simple products or single variations), or category (every simple product in it). How: mode "set" = an exact new price (e.g. "change the price of product 61 to 65" → product_ids [61], mode "set", value 65), "percent" = by a percentage, "fixed" = by an amount. Which price: target "regular", "sale" (percent / fixed are taken from the regular price, e.g. percent -20 = 20% off; set with value 0 ends the sale) or "both" (regular plus any existing sale price; default for percent / fixed; set defaults to regular). The short form {category, percent} changes the regular and sale prices of a category by that percentage. Sale dates: sale_from / sale_to (YYYY-MM-DD, with target "sale"; the sale runs from the start of sale_from to the end of sale_to in the shop's time zone). All variations of one variable product: plan_variation_prices. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_price_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | set = exact price, percent, fixed = amount in shop currency. | |
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| skus | No | Exact product SKUs. | |
| value | No | set: the new price (e.g. 65); percent: 10 = +10%, -5 = -5%; fixed: 2 = +2.00, -1.5 = -1.50. | |
| target | No | ||
| percent | No | Short form with category: e.g. 10 = +10%, -5 = -5% (same as mode percent, value). | |
| sale_to | No | Sale end date, inclusive (target sale), e.g. 2026-11-30. Omit = no end. | |
| category | No | Every simple product of this category (name or slug), instead of product_ids / skus. | |
| rounding | No | For percent / fixed. Default 2dp; x.90 / x.99 = round up to .90 / .99 endings. | |
| sale_from | No | Sale start date (target sale), e.g. 2026-11-27. Omit = starts now. | |
| product_ids | No | Product or variation ids (search_products / get_product / list_variations). |