Generate a custom email
Name | Type | Description |
---|---|---|
request | GenerateAdhocEmailRequest | Custom email generation request body |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Email/GenerateAdhocEmail
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={
"ids": [
"5178f8c9-4aa7-43d6-9554-3383c64c735b"
],
"templateId": 1,
"tags": [
{
"pkEmailStubTagId": 1,
"fkEmailStubId": 2,
"TagName": "sample string 3",
"TagValue": "sample string 4"
}
],
"attachments": [
"sample string 1"
]
}
This is an example of the response JSON. Results will vary depending on your data.
{
"isComplete": true,
"FailedRecipients": [
"sample string 1"
]
}