Skip to main content
Required scopes: marketing_templates_write Store must have one of: EMAIL_SMS, HSA, ORDER_TRACKING, RETURNS, TNPL, REVIEWS

Arguments

String
The new template’s name. Cannot be blank. Defaults to the saved template’s name followed by ” (Copy)”.
ID!
required
The saved template’s id.
The new template’s trigger, which decides which data its blocks and variables can use. Defaults to the saved template’s. Required when the saved template’s trigger is UNKNOWN, which forwarded templates always report. Cannot be UNKNOWN.

Returns

The content of an email, as the merchant authored it.

Example