Create email template

Creates an email template in DRAFT at version 0.

retailerId is never read from the body — it always comes from the authorizer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 60
string
enum
required
Allowed:
string
enum
required
Allowed:
string
source
object

Conteúdo escrito pelo autor. É o que o PUT grava e o que o POST /email-templates/preview
recebe — o mesmo shape nos dois, para que o preview não possa divergir do que é publicado.

variables
array of objects

Posições da sequência. A ordem é o contrato: variables[i] descreve {{i+1}}. Não existe
campo index — um índice explícito abriria espaço para o array e o texto divergirem.

A sequência é única para o template inteiro: assunto, pré-cabeçalho e corpo compartilham a
numeração, e repetir a mesma posição em dois lugares usa o mesmo valor.

variables
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json