Email marketing

Create an automation (SellAuth alias, native body)

POST
/formats/sellauth/v1/shops/{storeId}/email-marketing/automations

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/formats/sellauth/v1/shops/string/email-marketing/automations" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "trigger": "welcome",    "steps": [      {        "delayMinutes": 0,        "subject": "string",        "bodyHtml": "string"      }    ]  }'
{  "property1": null,  "property2": null}