Change an upsell
update_upsellChange a one-click upsell on one of the seller's checkouts, draft or live: headline, wording, price, delivery link, its own page (html; empty removes it), or turn it off (active: false; in a chain, buyers then pass it along its no). Get its id from get_product. To change the order or the yes and no paths, use set_offer_chain. On a draft this applies straight away. On a LIVE checkout it applies straight away too (status applied; the seller can roll it back on their Approvals page), unless it touches money: a price, currency, billing, the delivery link, payment plans, an early-bird price or campaign, or a retention discount or pause. Those create an approval request instead (status pending_approval): tell the seller, give them the approvalUrl, and check later with approval_status. To change other things straight away, don't send money fields in the same call. Never invent a price or a link.
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": "<product>",
"upsell": "<upsell>"
},
"name": "update_upsell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML for the upsell page. Empty removes it and uses the built-in layout. | |
| price | No | Price in the checkout's currency, in major units (27 = $27.00). | |
| active | No | False hides it from buyers without deleting it. | |
| upsell | Yes | The upsell's id, from get_product. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| product | Yes | The checkout's id or slug. | |
| headline | No | The offer's title, e.g. "Add the swipe file". | |
| deliveryUrl | No | https:// link where buyers get this after purchase. Required. | |
| description | No | One or two sentences on why it's worth it. |