Placeholder for the Subscription entity

The following Placeholders are used for the Subscription entity.

PlaceholderDescription
subscription.idand ID of the subscription

subscription.name

a subscriptions name
subscription.statusa subscriptions status
subscription.start_datean activation date of the subscription
subscription.expiration_datean expiration date of the subscription (see Setting the Expiration Date of a Subscription)
subscription.auto_renewalboolean; the option for activating the automatic subscription renewal (see Auto-Renewing a Subscription)
subscription.days_left

a number of days until the expiration date of the subscription

subscription.days_passed

the number of days that have passed since the expiration date of the subscription

subscription.trialboolean; subscription available only for the testing period
subscription.accounta name of the account, which ordered the subscription
subscription.plan_classa name of the plan class (see Managing Plan Classes)
subscription.plansubscription.plan_class

a general information about the plan class: id, name, description, status, etc. (data will be separated by ";")

subscription.plan_period

a general information about the plan period: duration, trial, setup fee, recurring fee/ month, transfer fee, renewal fee, etc. (data will be separated by ";")

subscription.renewal_payment.receipt_url

a download link to the receipt (this link is used in the notification about the expiration of the subscription)

subscription.trial.status

a placeholder (boolean) for tracking the status (trial / no-trial) of the plan period, which is used for the "Subscription is changed" event. You can add this placeholder to the event handler for the "Subscription is changed" event (for example, «subscription.trial = false»). In this case, if the plan period is changed from trial to no-trial, the notifications will be sent.

'first_subscription'

a placeholder in email template for a CSP subscription to determine whether the CSP subscription is the first. If the CSP subscription is the first, necessary data can be sent to the customer, for example, a login and password to Office 365 Portal.

{% if subscription['notification_settings']['Office 365 Enterprise E1']['first_subscription'] %}
    Some text
{% else %}
    Another text
{% endif %}