Email Campaigns
PATCH (Update) an Email Campaign Name
Use this method to rename an email campaign. The name is not visible to contacts. The name must be unique and cannot exceed 80 characters. You cannot rename email campaigns that have a Removed status.
patch/emails/{campaign_id}
Path parameters
campaign_idstring required
The unique identifier for an email campaign.
Request body
Example request
{
"name": "December Newsletter for Dog Lovers"
}Response
Request successful.
Example response
{
"campaign_activities": [
{
"campaign_activity_id": "0e3feddd-c8da-4d53-a507-aae5082b8b75",
"role": "primary_email",
"document_id": "21babb03-8385-4739-b9cc-n6cce44633a7"
}
],
"campaign_id": "8987dc1a-48ef-433a-b836-7ca4f9aa3481",
"created_at": "2018-02-06T22:09:15.000Z",
"current_status": "Draft",
"name": "December Newsletter for Dog Lovers",
"type": "NEWSLETTER",
"type_code": 10,
"updated_at": "2018-06-27T10:28:09.000Z"
}