Update template

The UpdateTemplate method can be used to update a specified template and can be useful if you need to make changes to any settings or content to the template.

Guidance Notes

Images must be uploaded separately.

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com required
password string This is the password from your API key. required
template template This is the template object; it can be used to set properties relating to the template you are creating. partially required

Return values

None.

Error responses

  • ERROR_TEMPLATE_INVALID
  • ERROR_TEMPLATE_NOT_FOUND
  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_LOGIN
  • ERROR_PARAMETER_INVALID
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd