Ghost MCP Server

by MFYDev
Verified

update_offer

Update an existing offer in Ghost.

Args: offer_id: ID of the offer to update (required) name: New internal name for the offer (optional) code: New shortcode for the offer (optional) display_title: New name displayed in the offer window (optional) display_description: New text displayed in the offer window (optional) ctx: Optional context for logging Returns: String representation of the updated offer Raises: GhostError: If the Ghost API request fails ValueError: If no fields to update are provided

Input Schema

NameRequiredDescriptionDefault
codeNo
display_descriptionNo
display_titleNo
nameNo
offer_idYes

Input Schema (JSON Schema)

{ "properties": { "code": { "default": null, "title": "Code", "type": "string" }, "display_description": { "default": null, "title": "Display Description", "type": "string" }, "display_title": { "default": null, "title": "Display Title", "type": "string" }, "name": { "default": null, "title": "Name", "type": "string" }, "offer_id": { "title": "Offer Id", "type": "string" } }, "required": [ "offer_id" ], "title": "update_offerArguments", "type": "object" }