Campaigns

Update CampaignContent

Updates the given CampaignContent.

put/shop/customers/campaigns/{campaignId}/contents/{contentId}

Request body

subjectstring

The email subject line for this content variant.

contentstring

The email body content in markdown.

Example request

{
  "subject": "Exclusive summer offer just for you",
  "content": "Hi there! We have a special offer just for you."
}

Response

The campaign content was successfully retrieved.

Example response

{
  "data": {
    "locale": "en-GB",
    "subject": "Exclusive summer offer just for you 🌞",
    "content": "<p>Hi there! We have a special offer just for you.</p>"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.