put https://a.klaviyo.com/api/v1/email-template/
Updates the name and/or HTML content of a template. Only updates imported HTML templates; does not currently update drag & drop templates.
Response
Updates the name and/or HTML content of a template. Only updates imported HTML templates; does not currently update drag & drop templates.
xxxxxxxxxx
curl --request PUT \
--url 'https://a.klaviyo.com/api/v1/email-template/TEMPLATE_ID?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded'
xxxxxxxxxx
{
"object": "email-template",
"id": "TEMPLATE_ID",
"name": "TEMPLATE_NAME",
"html": "<html><head></head><body><p>Some Text</p></body></html>",
"is_writeable": true,
"created": "2021-11-18 03:43:51",
"updated": "2021-11-18 03:43:51"
}