update_campaign
Edit draft or scheduled email campaigns. Set a send time or clear the schedule to return to draft. Campaigns already sending cannot be changed.
Instructions
Edit a draft or scheduled campaign. Set scheduled_at to schedule it, or clear_schedule to drop it back to a draft. Touching neither leaves the schedule standing. A campaign that is already sending cannot be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric campaign id | |
| from | No | Sender address | |
| name | No | Display name | |
| subject | No | Message subject | |
| html_body | No | HTML body | |
| text_body | No | Plain-text body | |
| scheduled_at | No | RFC 3339 send time | |
| clear_schedule | No | Clear the schedule, returning the campaign to a draft |