Skip to main content
POST
Create email marketing automation

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

application/json
name
string
required
Minimum string length: 1
subject
string
required
Minimum string length: 1
template_id
string
required
Minimum string length: 1
from_name
string
required
Minimum string length: 1
from_email
string
required
Minimum string length: 1
trigger
enum<string>
required
Available options:
ABANDONED_CART,
POST_PURCHASE,
WELCOME,
WIN_BACK,
RE_ENGAGEMENT,
TAG_ADDED
reply_to_email
string
delay_seconds
Required range: -9007199254740991 <= x <= 9007199254740991
conditions
object
{key}
object

Response

Response for status 201

data
object
required