Skip to main content

Subscriptions (Packages)

Merge Tag

Type

Description

{{package.package_id}}integerSubscription ID #
{{package.customer_id}}}}integerCustomer ID #
{{package.brand_id}}}}integerBrand ID #
{{package.brand_name}}}}stringBrand name
{{package.class_id}}integerClass ID #
{{package.class_name}}stringClass name
{{package.external_key}}stringExternal key value
{{package.token}}stringUnique token
{{package.nickname}}stringNickname for the subscription
{{package.paymethod}}stringPayment method for the subscription, one of: crd, inv, ach, tok
{{package.paymethod_name}}stringPayment method for the subscription (e.g. Credit Card)
{{package.paymethod_detail}}stringPayment method details (e.g. "Visa x1111")
{{package.creditcard_id}}integerCredit card ID # (if the subscription is paid by credit card)
{{package.tokenized_id}}integerTokenized ID # (if the subscription is paid by an external service token)
{{package.admin_id}}integerAdmin/Worker ID #
{{package.admin_name}}stringAdmin/Worker name
{{package.bill_addr1}}stringBilling address line 1
{{package.bill_addr2}}stringBilling address line 2
{{package.bill_addr3}}stringBilling address line 3
{{package.bill_city}}stringBilling address city
{{package.bill_state}}stringBilling address state/province
{{package.bill_postcode}}stringBilling address postal code
{{package.bill_country}}stringBilling address country
{{package.bill_notes}}string(deprecated)
{{package.bill_block}}stringPrintable billing address
{{package.ship_addr1}}stringShip address line 1
{{package.ship_addr2}}stringShip address line 2
{{package.ship_addr3}}stringShip address line 3
{{package.ship_city}}stringShip address city
{{package.ship_state}}stringShip address state/province
{{package.ship_postcode}}stringShip address postal code
{{package.ship_country}}stringShip address country
{{package.ship_notes}}string(deprecated)
{{package.ship_block}}stringPrintable shipping address
{{package.currency_id}}integerCurrency ID #
{{package.currency_symbol}}stringCurrency symbol
{{package.currency_iso4217}}stringCurrency ISO 4217 code
{{package.amount_collected}}floatTotal amount collected so far for this subscription
{{package.amount_invoiced}}floatTotal amount invoiced so far
{{package.amount_due}}floatTotal amount due (invoiced - collected)
{{package.amount_overdue}}floatTotal amount past due
{{package.suspendfrom_datetime}}datetimeDate/time this subscription was suspended from
{{package.suspendto_datetime}}datetimeDate/time this subscription was suspended to
{{package.next_invoice_datetime}}datetimeThe date the next invoice will be generated
{{package.is_overdue}}booleanWhether or not the subscription is overdue
{{package.days_overdue}}integer# of days overdue the subscription is
{{package.start_datetime}}datetimeDate/time this subscription was started/effective
{{package.cancel_datetime}}datetimeDate/time this subscription was cancelled
{{package.write_datetime}}datetimeDate/time the subscription was created
{{package.mod_datetime}}datetimeDate/time the subscription was last updated, upgraded, downgraded, etc.
{{package.holduntil_datetime}}datetimeDate/time invoicing for this subscription is being delayed until
{{package.package_status_id}}integerSubscription status ID #
{{package.package_status_name}}stringHuman-friendly subscription status
{{package.package_status_str}}stringStatus string
{{package.package_status_state}}stringStatus code
{{package.mrr}}floatCurrent monthly recurring revenue of the subscription
{{package.arr}}floatCurrent annual recurring revenue of the subscription
{{package.cancel_reason}}stringReason for cancellation
{{package.terms_id}}integerTerms ID #
{{package.terms_name}}stringTerms name
{{package.terms_days}}integerTerms # of days
{{package.paycycle}}stringPayment cycle for the subscription (e.g. monthly, etc.)
{{package.paycycle_name}}stringPayment cycle name
{{package.custom_1}}mixedCustom field #1
{{package.custom_2}}mixedCustom field #2
{{package.custom_3}}mixedCustom field #3
{{package.custom_4}}mixedCustom field #4
{{package.custom_5}}mixedCustom field #5
{{package.custom_6}}mixedCustom field #6
{{package.custom_7}}mixedCustom field #7
{{package.custom_8}}mixedCustom field #8
{{package.custom_9}}mixedCustom field #9
{{package.custom_10}}mixedCustom field #10
{{package.custom_11}}mixedCustom field #11
{{package.custom_12}}mixedCustom field #12
{{package.custom_13}}mixedCustom field #13
{{package.custom_14}}mixedCustom field #14
{{package.custom_15}}mixedCustom field #15
{{package.custom_16}}mixedCustom field #16
{{package.custom_17}}mixedCustom field #17
{{package.custom_18}}mixedCustom field #18
{{package.custom_19}}mixedCustom field #19
{{package.custom_20}}mixedCustom field #20
{{package.first_invoice_schedule_template_id}}integerPayment schedule to use for the first invoice generated
{{package.recurring_invoice_schedule_template_id}}integerPayment schedule to use for the subsequent generated invoices
{{package.line_items}}arrayA list of line items for the subscription
{{package.tags}}arrayA list of tags
{{package.url_self}}stringURL for viewing the subscription in the GUI