Email Options

Edit email options

Set one or more writable email options on an email. Only the keys you send are changed; every other option is left untouched. Keys are matched case insensitively. If any key in the request is unknown or not writable, the whole request is rejected and nothing is saved.

patch/assets/{asset_id}/options

Request

Path parameters

asset_idstring required

ID of the email

Request body

custom_head_codestring

Markup added to the <head> of this email when it is rendered or downloaded.

Example request

{
  "custom_head_code": "%%[ VAR @firstName SET @firstName = AttributeValue(\"FirstName\") ]%%"
}

Response

OK

Example response

{
  "data": {
    "custom_head_code": "%%[ VAR @firstName SET @firstName = AttributeValue(\"FirstName\") ]%%"
  }
}

Changes

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