Update an email campaign status

Update the status of an email campaign, such as suspending, archiving, or replicating it. Available status values include suspended, archive, darchive, sent, queued, replicate, replicateTemplate, cancel, and draft. Note that the replicateTemplate status is only available for template type campaigns.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

campaignIdlongRequired
Id of the campaign

Request

Status of the campaign
statusenumOptional

Note:- replicateTemplate status will be available only for template type campaigns.

Errors

400
Bad Request Error
404
Not Found Error