Edit an offer
update_offerChange an offer (text, dates, on/off). Changes the owner's account.
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": {
"offer_id": "<offer_id>"
},
"name": "update_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | ||
| terms | No | ||
| title | No | ||
| ends_at | No | ||
| brand_id | No | Optional business id from list_brands (default: this connection's business). | |
| item_ids | No | ||
| offer_id | Yes | The offer id. | |
| starts_at | No | ||
| idempotency_key | No | ||
| expected_revision | No |