OrderMailTemplate
A single order mail template.
More info: see the get operation and the order mail templates endpoint.
Fields
Field | Description |
---|---|
id int (required) | Unique ID Example value:123 |
typeid int (required) | The type of this order mail template, defines where this template is used. The available values for this field can be found on the order mail template overview page. Example value:3101 |
name string (required) | Name of the order mail template Example value:"Order confirmation" |
body string (required) | Message body Example value:"<!-- Block of HTML -->" |
subject string (required) | Subject line for the order mail template Example value:"Your reservation" |
translations map<string, string> (required) | A map of language codes to gettext .po files. More info can be found on the order mail template overview page. Example value:{ "nl": "..." } |
isarchived bool (required) | Whether or not this item is archived |
createdts timestamp (required) | Created timestamp Example value:"2014-09-26 15:24:36" |
lastupdatets timestamp (required) | Last updated timestamp Example value:"2014-09-26 15:24:36" |
Example
1{
2 "id": 123,
3 "typeid": 3101,
4 "name": "Order confirmation",
5 "body": "<!-- Block of HTML -->",
6 "subject": "Your reservation",
7 "translations": {
8 "nl": "..."
9 },
10 "isarchived": false,
11 "createdts": "2014-09-26 15:24:36",
12 "lastupdatets": "2014-09-26 15:24:36"
13}