---
title: tm.ordermailtemplate
slug: db/tmordermailtemplate
createdAt: 2023-12-14T14:12:36.206Z
---

Templates for order mails

## Fields

| FIELD        | TYPE                           | DESCRIPTION                                                                                                                                                                                                                                               |
| ------------ | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id           | `int`                          | Unique ID                                                                                                                                                                                                                                                 |
| name         | `string`                       | Name of the order mail template                                                                                                                                                                                                                           |
| typeid       | `int`                          | 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](https://www.ticketmatic.com/docs/api/settings/communicationanddesign/ordermails/) page. |
| subject      | `string`                       | Subject line for the order mail template                                                                                                                                                                                                                  |
| body         | `string`                       | Message body                                                                                                                                                                                                                                              |
| translations | `map[k:string t:map v:string]` | A map of language codes to [gettext .po files](http://en.wikipedia.org/wiki/Gettext). More info can be found on the [order mail template overview](https://www.ticketmatic.com/docs/api/settings/communicationanddesign/ordermails/) page.                |
| createdts    | `timestamp`                    | Created timestamp                                                                                                                                                                                                                                         |
| lastupdatets | `timestamp`                    | Last updated timestamp                                                                                                                                                                                                                                    |
| isarchived   | `bool`                         | Whether or not this item is archived                                                                                                                                                                                                                      |

