Update Templates
Last updated
Was this helpful?
Last updated
Was this helpful?
description
string
namespace
string
enabled
boolean
tags
object
(head & body)
You can only update some parts of the template, you cannot change the components, and therefore the structure will remain the same.
It is not necessary to include the whole object, just the fields one wishes to update.
All other fields remain the same. But once again, are not necessary to include.
The template update will only affect subsequent campaigns created. Campaigns that were using a template before its update will continue to use the original tags
supplied on campaign creation.
This endpoint allows you to modify and update an existing template.
This endpoint allows you to update template information using a CSV file.
API call to Update Template
Successfully Updated Template
"639700347749ed00181de224"
"test_template"
"auto-ingested - tag configuration required"
""
"en"
"ALERT_UPDATE"
"APPROVED"
true
"912537239744385"
"2022-12-14T08:19:46.423Z"
"2022-12-14T09:30:01.029Z"
19
"131872255634016240345"
API call to Update Template (CSV)
Successfully Updated Template (CSV)
"3443395cf37r783e2784"
"order_shipped"
"A Template to test an alert"
"default"
"en_US"
"ALERT_UPDATE"
"APPROVED"
true
"912537239744385"
"2022-12-14T08:19:46.423Z"
"2022-12-14T09:30:01.029Z"
19
"131872255634016240345"