klaviyo v1.0.0 Klaviyo.Template

Provides support for the Klaviyo Templates API.

This module provides access to all known endpoints of the v1 Templates API.

Link to this section Summary

Functions

Create a copy of a template

Create a template

Delete a template

Get a list of all templates

Renders a template

Renders a template and sends it as an email

Update an email template

Link to this section Functions

Link to this function clone(id, params)
clone(String.t(), map()) :: Klaviyo.Operation.t()

Create a copy of a template.

Link to this function create(params)
create(map()) :: Klaviyo.Operation.t()

Create a template.

Delete a template.

Get a list of all templates.

Link to this function render(id, params \\ %{})
render(String.t(), map()) :: Klaviyo.Operation.t()

Renders a template.

Link to this function send(id, params)
send(String.t(), map()) :: Klaviyo.Operation.t()

Renders a template and sends it as an email.

Link to this function update(id, params)
update(String.t(), map()) :: Klaviyo.Operation.t()

Update an email template.