Update draft campaign
emailchef_update_campaignWRITE: change a DRAFT campaign's name, subject, body, sender, reply-to or recipient lists. Only the fields you pass change: the tool reads the campaign first and sends the complete record back, because Emailchef blanks any omitted field. Refuses a campaign that is not a DRAFT. PUT /newsletters/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| subject | No | ||
| list_ids | No | Replace the recipient lists (any segment is dropped unless segment_id is also passed). | |
| html_body | No | ||
| sender_id | No | Numeric id (as returned by the list tools). | |
| text_body | No | ||
| segment_id | No | Segment of the first list (only with list_ids). | |
| campaign_id | Yes | Numeric id (as returned by the list tools). | |
| reply_to_id | No | Numeric id (as returned by the list tools). |