Marketing

Store emails with their last delivery state, and suppressed addresses

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

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
perPage?integer
Range1 <= value <= 200
Default25
q?string
Lengthlength <= 320
address?string
Lengthlength <= 320
status?string

Value in

  • "queued"
  • "sent"
  • "failed"
  • "delivered"
  • "delayed"
  • "bounced"
  • "complained"
  • "suppressed"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/marketing/emails"
{  "data": [    {      "id": "string",      "email": "string",      "subject": "string",      "template": "string",      "status": "queued",      "at": "string",      "reason": "string",      "suppression": "string",      "canClear": true    }  ],  "pagination": {    "page": -9007199254740991,    "perPage": -9007199254740991,    "total": -9007199254740991  }}