Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Email /GenerateFreeTextEmail

Allows 150 calls per minute

Response: GenerateFreeTextEmailResponse



Generate a custom email

Parameters

NameTypeDescription
requestGenerateFreeTextEmailRequest

Permissions

GlobalPermissions.Email.SendEmails.SendFreeTextEmailsNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Email/GenerateFreeTextEmail

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "ids": [
    "3b7d1dbf-0e7d-4469-9c12-e60d96a06216"
  ],
  "subject": "sample string 1",
  "body": "sample string 2",
  "templateType": "sample string 3"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "isComplete": true,
  "FailedRecipients": [
    "sample string 1"
  ]
}