update_campaign
Partially update a campaign by ID while it is draft or pending approval. Use null to clear nullable fields like segmentId or topicId.
Instructions
Update a campaign by id (partial) — only while it is draft or pending_approval (409 once sending). Pass an explicit null to clear a nullable field (segmentId/topicId/templateId/subject/html/text/fromName/replyTo/scheduledAt/throttlePerHour).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign id. | |
| html | No | ||
| name | No | ||
| text | No | ||
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| replyTo | No | ||
| subject | No | ||
| topicId | No | ||
| fromName | No | ||
| fromEmail | No | ||
| segmentId | No | ||
| templateId | No | ||
| scheduledAt | No | ||
| throttlePerHour | No | ||
| approvalRequired | No |