Subscription Line Items
Note that for merge tags for line items, the number in brackets in the merge tag corresponds to which line the item is on the invoice, quote, or subscription.
For example, if you want to see the name of the first line item on an subscription, you would use
{{package.line_items[0].item_name}}.
If you wanted to see the name of the second line item, you would use the merge tag
{{package.line_items[1].item_name}}.
Merge Tag | Type | Description |
{{package.line_items[0].line_item_id}} | integer | Line item ID # |
{{package.line_items[0].package_id}} | integer | Subscription ID # |
{{package.line_items[0].admin_id}} | integer | Admin worker ID # (sales rep) |
{{package.line_items[0].item_external_key}} | string | Item external key |
{{package.line_items[0].item_id}} | integer | Item ID # for this line |
{{package.line_items[0].item_name}} | string | Item name |
{{package.line_items[0].item_external_key}}}} | string | Item external key |
{{package.line_items[0].item_accounting_sku}} | string | Item accounting SKU |
{{package.line_items[0].item_token}} | string | Item token |
{{package.line_items[0].item_units}} | float | |
{{package.line_items[0].item_type}} | string | Item type |
{{package.line_items[0].item_is_usage}} | boolean | Whether or not the item is usage-based/metered |
{{package.line_items[0].line_item_bundle_id}} | integer | Item bundle ID # |
{{package.line_items[0].tierset_id}} | integer | Tierset ID # for this line |
{{package.line_items[0].nickname}} | string | Nickname for this line of the subscription |
{{package.line_items[0].descrip}} | string | Description |
{{package.line_items[0].trial_days}} | integer | (Deprecated - see trial recurs) |
{{package.line_items[0].trial_units}} | float | |
{{package.line_items[0].trial_recurs}} | integer | # of free trial cycles/cycles to skip |
{{package.line_items[0].expire_datetime}} | datetime | |
{{package.line_items[0].expire_recurs}} | integer | # of invoices to occur on before expiring |
{{package.line_items[0].line_quantity}} | float | Quantity |
{{package.line_items[0].subscribe_datetime}} | datetime | The date/time this line item was last upgraded, downgraded, or added |
{{package.line_items[0].subscribe_prorate_from_datetime}} | datetime | |
{{package.line_items[0].subscribe_prorate_to_datetime}} | datetime | |
{{package.line_items[0].cancel_datetime}} | datetime | The date/time this line item was cancelled |
{{package.line_items[0].custom_1}} | mixed | Custom field #1 |
{{package.line_items[0].custom_2}} | mixed | Custom field #2 |
{{package.line_items[0].custom_3}} | mixed | Custom field #3 |
{{package.line_items[0].custom_4}} | mixed | Custom field #4 |
{{package.line_items[0].custom_5}} | mixed | Custom field #5 |
{{package.line_items[0].custom_6}} | mixed | Custom field #6 |
{{package.line_items[0].custom_7}} | mixed | Custom field #7 |
{{package.line_items[0].custom_8}} | mixed | Custom field #8 |
{{package.line_items[0].custom_9}} | mixed | Custom field #9 |
{{package.line_items[0].custom_10}} | mixed | Custom field #10 |
{{package.line_items[0].custom_11}} | mixed | Custom field #11 |
{{package.line_items[0].custom_12}} | mixed | Custom field #12 |
{{package.line_items[0].custom_13}} | mixed | Custom field #13 |
{{package.line_items[0].custom_14}} | mixed | Custom field #14 |
{{package.line_items[0].custom_15}} | mixed | Custom field #15 |
{{package.line_items[0].custom_16}} | mixed | Custom field #16 |
{{package.line_items[0].custom_17}} | mixed | Custom field #17 |
{{package.line_items[0].custom_18}} | mixed | Custom field #18 |
{{package.line_items[0].custom_19}} | mixed | Custom field #19 |
{{package.line_items[0].custom_20}} | mixed | Custom field #20 |
{{package.line_items[0].tierset}} | array | The pricing for the line item |