Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
shop_ids | [Int] | Send the newsletter to the customers of these shops |
subject | String | Email subject |
html | String | HTML from the email |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
shop_ids | [Int] | Send the newsletter to the customers of these shops |
subject | String | Email subject |
html | String | HTML from the email |
id | Int | ID |
recipient_count | Int | To how many people was the newsletter sent |
sent_at | DateTime | When the newsletter was sent |
When used inside a request.
{
"shop_ids": [
11,
17,
12
],
"subject": "...",
"html": "..."
}
When returned in a response.
{
"shop_ids": [
11,
13,
16
],
"subject": "...",
"html": "...",
"id": 15,
"recipient_count": 18,
"sent_at": "2019-01-31 12:00:00"
}