dealmachine_mail_campaign_archive
Archives an ended campaign. End active, paused, ready or draft campaigns first; otherwise the API returns 409 CAMPAIGN_NOT_ENDED without changing the campaign. Cancels unsent mail, releases reservations, stops reminders and hides it from default lists. History stays under status=archived. Already submitted mail may still ship. Confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | Set to true only after the user confirms archiving this campaign and cancelling its unsent mail | |
| campaign_id | Yes |