Required scopes: marketing_templates_write
Arguments
The template’s id, or its legacyId from an earlier version of the Redo API.
Fields to change. Whether links in the body are shortened.
The SMS body as authored.
HTTPS image URLs sent with the message as MMS, at most 2. Upload a file with uploadMarketingImage (channel SMS) to get one that fits carrier limits. Replaces the template’s images; product images and contact cards set in the editor are kept. Pass [] to remove all images.
The merchant-facing name of the template.
Returns
The content of an SMS, as the merchant authored it. Whether links in the body are shortened at send time.
The SMS body as authored , before per-recipient substitution.
When the template was created.
Images sent with the message as MMS, in order. Dynamic product images and contact cards set in the editor are not listed. The template’s legacy Mongo ObjectId (24-char hex) from before the CockroachDB migration.
The merchant-facing name of the template.
The trigger context this template is valid for. Immutable after create. UNKNOWN when the stored trigger is not modeled in this API version.
When the template was last edited.
Example