Skip to main content
POST
Create email marketing automation trigger

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

application/json
trigger
enum<string>
required
Available options:
ABANDONED_CART,
POST_PURCHASE,
WELCOME,
WIN_BACK,
RE_ENGAGEMENT,
TAG_ADDED
email
string
required
Minimum string length: 1
customer_id
string
name
string
Available options:
CONSENT,
SOFT_OPT_IN,
TRANSACTIONAL_ONLY,
UNKNOWN
variables
object
idempotency_key
string
{key}
object

Response

Response for status 200

data
object
required