update_offer
Updates an existing offer's name, code, display title, or description. Pricing terms remain unchanged.
Instructions
Update an offer by id.
Ghost only allows editing name, code, and the display title/description
of an existing offer; the pricing terms are fixed once created. Returns the
updated offer summary.
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 |
|---|---|---|---|
| code | No | ||
| name | No | ||
| offer_id | Yes | ||
| display_title | No | ||
| display_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||