# Subscriptions: Tixly Subscriptions Gets all subscription sales that you have access to. Pass in the DateFrom and DateTo parameters to get sales within a specific date range. ⚠️ **Deprecated Notice** This endpoint is scheduled for removal on **1st of January 2026**. One property in the response model will also be removed on that date. Please migrate to the `/subscriptions/instances` endpoint instead. ## Documentation Gets all subscription sales that you have access to. Pass in the DateFrom and DateTo parameters to get sales within a specific date range. ⚠️ **Deprecated Notice** This endpoint is scheduled for removal on **1st of January 2026**. One property in the response model will also be removed on that date. Please migrate to the `/subscriptions/instances` endpoint instead. - Catalog: `Tixly` - Schema: `Subscription` - Label: Subscriptions This is a read-only table function. The Tixly API may not support changing the data or the Invantive UniversalSQL driver for Tixly does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Tixly API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `Subscriptions`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `DateFrom` | `` | ☐ | | If set, only sales after this date will be returned | | `DateTo` | `` | ☐ | | If set, only sales before this date will be returned | ## Columns of Table Function The columns of the table function `Subscriptions` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `CreatedUTCUnix` | `int64` | | ☐ | The date and time in Unix time (also known as POSIX time or Epoch time) when the subscription was sold | | `Created` | `datetime` | Created | ☐ | The date and time when the subscription was sold | | `CustomerId` | `int32` | Customer ID | ☐ | The id of the customer | | `CustomerName` | `varchar2` | Customer Name | ☐ | The name of the customer | | `Id` | `int32` | ID | ☐ | A unique id for the specific subscription | | `Name` | `varchar2` | Name | ☐ | The name of the subscription | | `OrderId` | `int32` | Order ID | ☐ | The id of the Order | | `OrderUrl` | `varchar2` | | ☐ | The encrypted order id to be used in url's to create a purchase link for reservations or a receipt link for sales | | `OrganisationID` | `int32` | Organisation ID | ☐ | Will be removed from future releases, Id should not both be upper case kept it for backward compatibility and use OrganisationId instead | | `OrganisationId_2` | `int32` | | ☐ | The id of the organisation that owns the subscription | | `Price` | `double` | Price | ☐ | The price of the subscription for the selected seat | | `RowName` | `varchar2` | | ☐ | The name of the row of the primary hall in the subscription | | `SeatName` | `varchar2` | | ☐ | The name of the seat of the primary hall in the subscription | | `SectionName` | `varchar2` | | ☐ | The name of the section of the primary hall in the subscription | | `SubscriptionTypeId` | `int32` | Subscription Type ID | ☐ | The id of the subscription | | `TicketCount` | `int32` | Ticket Count | ☐ | Total number of tickets in the subscription | | `TicketIds` | `varchar2` | | ☐ | The ticket ids of the tickets that are in the subscription |