---
title: tm.saleschannel
slug: db/tmsaleschannel
createdAt: 2023-12-14T14:12:24.787Z
---

Each order in Ticketmatic happens in the context of a sales channel. A sales channel can be of type 'Desk', 'Web' or 'External'.

## Fields

| FIELD                                         | TYPE        | DESCRIPTION                                                                                                                                                                                                                                                                                                       |
| --------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                                            | `int`       | Unique ID                                                                                                                                                                                                                                                                                                         |
| name                                          | `mlstring`  | Name of the sales channel                                                                                                                                                                                                                                                                                         |
| typeid                                        | `int`       | The type of this sales channel, defines where this sales channel will be used. The available values for this field can be found on the [sales channel overview](https://www.ticketmatic.com/docs/api/settings/ticketsales/saleschannels) page.<br />**References:** [tm.systemtype](docId\:YVf7OQ_iruf6NpUOHG2XQ) |
| ordermailtemplateid\_confirmation             | `int`       | The ID of the order mail template to use for sending confirmations. Can be 0 to indicate that no mail should be sent<br />**References:** [tm.ordermailtemplate](docId\:gJGZAEnrXeOQ0QiPOOTv6)                                                                                                                    |
| ordermailtemplateid\_confirmation\_sendalways | `bool`      | Always send the confirmation, regardless of the payment method configuration                                                                                                                                                                                                                                      |
| createdts                                     | `timestamp` | Created timestamp                                                                                                                                                                                                                                                                                                 |
| lastupdatets                                  | `timestamp` | Last updated timestamp                                                                                                                                                                                                                                                                                            |
| isarchived                                    | `bool`      | Whether or not this item is archived                                                                                                                                                                                                                                                                              |

