Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Email /GetEmailTemplates

Allows 150 calls per minute

Response: List<EmailTemplateHeader>



Get the whole list of email header templates

Parameters

No parameters required.

Permissions

GlobalPermissions.Email.Templates.GetEmailTemplatesNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Email/GetEmailTemplates

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.

Response

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

[
  {
    "pkEmailTemplateRowId": 1,
    "Name": "sample string 2",
    "TemplateType": "sample string 3",
    "IsConditions": true,
    "Condition": "sample string 5",
    "Enabled": true,
    "fkEmailAccountRowId": 7,
    "AccountName": "sample string 8",
    "AttachPDF": true,
    "IsAdhoc": true,
    "HTML": true
  }
]