Iterable · Schema

EmailTemplateUpdate

Request body for updating an email template

Cross-Channel MessagingCustomer EngagementEmailMarketing AutomationPush NotificationsSMS

Properties

Name Type Description
templateId integer Template ID to update
name string Updated template name
subject string Updated email subject line
preheaderText string Updated preheader text
html string Updated HTML content
plainText string Updated plain text content
fromName string Updated from name
fromEmail string Updated from email address
View JSON Schema on GitHub

JSON Schema

iterable-emailtemplateupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmailTemplateUpdate",
  "title": "EmailTemplateUpdate",
  "type": "object",
  "description": "Request body for updating an email template",
  "required": [
    "templateId"
  ],
  "properties": {
    "templateId": {
      "type": "integer",
      "description": "Template ID to update"
    },
    "name": {
      "type": "string",
      "description": "Updated template name"
    },
    "subject": {
      "type": "string",
      "description": "Updated email subject line"
    },
    "preheaderText": {
      "type": "string",
      "description": "Updated preheader text"
    },
    "html": {
      "type": "string",
      "description": "Updated HTML content"
    },
    "plainText": {
      "type": "string",
      "description": "Updated plain text content"
    },
    "fromName": {
      "type": "string",
      "description": "Updated from name"
    },
    "fromEmail": {
      "type": "string",
      "format": "email",
      "description": "Updated from email address"
    }
  }
}