Klaviyo.Template (klaviyo v2.1.1)
Link to this section Summary
Functions
Return all email templates.
Create a copy of an email template.
Create an email template.
Delete an email template.
Renders HTML and text versions of an email template.
Renders and sends an email template.
Update an email template.
Link to this section Functions
Link to this function
all()
Specs
all() :: Klaviyo.Operation.t()
Return all email templates.
Email templates are returned in sorted order by name.
Link to this function
clone(template_id, params)
Specs
clone(String.t(), map()) :: Klaviyo.Operation.t()
Create a copy of an email template.
Link to this function
create(params)
Specs
create(map()) :: Klaviyo.Operation.t()
Create an email template.
Link to this function
delete(template_id)
Specs
delete(String.t()) :: Klaviyo.Operation.t()
Delete an email template.
Link to this function
render(template_id, params \\ %{})
Specs
render(String.t(), map()) :: Klaviyo.Operation.t()
Renders HTML and text versions of an email template.
Link to this function
send(template_id, params)
Specs
send(String.t(), map()) :: Klaviyo.Operation.t()
Renders and sends an email template.
Link to this function
update(template_id, params)
Specs
update(String.t(), map()) :: Klaviyo.Operation.t()
Update an email template.
Only updates imported HTML templates.