Marketing

List automations

GET
/v1/stores/{storeId}/marketing/automations

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/marketing/automations"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "trigger": "welcome",      "state": "active",      "winBackDays": -9007199254740991,      "productIds": [        "ab269553-289b-4dda-82f7-ac36b3555fb3"      ],      "minOrderMinor": -9007199254740991,      "requireNewsletter": true,      "steps": [        {          "delayMinutes": 0,          "subject": "string",          "bodyHtml": "string",          "bodyMode": "editor",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "position": -9007199254740991        }      ],      "sentCount": -9007199254740991,      "activeRuns": -9007199254740991,      "createdAt": "string",      "updatedAt": "string"    }  ]}