accountIdstring
The ID of the account associated with this subscription.
accountNamestring
The name of the account associated with this subscription.
accountNumberstring
The number of the account associated with this subscription.
autoRenewboolean
If true, the subscription automatically renews at the end of the term. Default is false.
cancelReasonstring
The reason for a subscription cancellation copied from the changeReason field of a Cancel Subscription order action.
This field contains valid value only if a subscription is cancelled through the Orders UI or API. Otherwise, the value for this field will always be null.
contractEffectiveDatestring date
Effective contract date for this subscription, as yyyy-mm-dd.
contractedMrrnumber
Monthly recurring revenue of the subscription.
contractedNetMrrnumber
Monthly recurring revenue of the subscription inclusive of all the discounts applicable, including the fixed-amount discounts and percentage discounts.
asOfDayGrossMrrnumber
Monthly recurring revenue of the subscription exclusive of any discounts applicable as of specified day.
asOfDayNetMrrnumber
Monthly recurring revenue of the subscription inclusive of all the discounts applicable, including the fixed-amount discounts and percentage discounts as of specified day.
netTotalContractedValuenumber
Total contracted value of the subscription inclusive of all the discounts applicable, including the fixed-amount discounts and percentage discounts.
currencystring
The currency of the subscription.
Note: This field is available only if you have the <a href="https://docs.zuora.com?resourceId=billing-multiple-currencies-overview" target="_blank">Multiple Currencies</a> feature enabled.
currentTerminteger
The length of the period for the current subscription term.
currentTermPeriodTypestring
The period type for the current subscription term.
Values are:
- Month (default)
- Year
- Day
- Week
customerAcceptanceDatestring date
The date on which the services or products within a subscription have been accepted by the customer, as yyyy-mm-dd.
externallyManagedBy'Amazon' | 'Apple' | 'Google' | 'Roku'
An enum field on the Subscription object to indicate the name of a third-party store. This field is used to represent subscriptions created through third-party stores.
initialTerminteger
The length of the period for the first subscription term.
initialTermPeriodTypestring
The period type for the first subscription term.
Values are:
- Month (default)
- Year
- Day
- Week
invoiceGroupNumberstring nullable
The number of the invoice group associated with the subscription.
The value of this field is null if you have the Flexible Billing Attributes feature disabled.
invoiceOwnerAccountIdstring
invoiceOwnerAccountNamestring
invoiceOwnerAccountNumberstring
invoiceScheduleIdinteger
The ID of the invoice schedule associated with the subscription.
If multiple invoice schedules are created for different terms of a subscription, this field stores the latest invoice schedule.
Note: This field is available only if you have the <a href="https://docs.zuora.com?resourceId=billing-billing-schedule-overview" target="_blank">Billing Schedule</a> feature enabled.
invoiceSeparatelyboolean
Separates a single subscription from other subscriptions and creates an invoice for the subscription.
If the value is true, the subscription is billed separately from other subscriptions. If the value is false, the subscription is included with other subscriptions in the account invoice.
invoiceTemplateIdstring nullable
The ID of the invoice template associated with the subscription.
Note:
- If you have the <a href="https://docs.zuora.com?resourceId=billing-attributes-for-flexible-billing" target="_blank">Flexible Billing Attributes</a> feature disabled, this field is unavailable in the request body and the value of this field is null in the response body.
- If you have the Flexible Billing Attributes feature enabled, and you do not specify this field in the request or you select Default Template from Account for this field during subscription creation, the value of this field is automatically set to null in the response body.
invoiceTemplateNamestring
The name of the invoice template associated with the subscription.
Note:
- If you have the <a href="https://docs.zuora.com?resourceId=billing-attributes-for-flexible-billing" target="_blank">Flexible Billing Attributes</a> feature disabled, the value of this field is null in the response body.
- If you have the Flexible Billing Attributes feature enabled, and you do not specify the invoiceTemplateId field in the request or you select Default Template from Account for the invoiceTemplateId field during subscription creation, the value of the invoiceTemplateName field is automatically set to null in the response body.
isLatestVersionboolean
If true, the current subscription object is the latest version.
lastBookingDatestring date
The last booking date of the subscription object. This field is writable only when the subscription is newly created as a first version subscription. You can override the date value when creating a subscription through the Subscribe and Amend API or the subscription creation UI (non-Orders). Otherwise, the default value today is set per the user's timezone. The value of this field is as follows:
- For a new subscription created by the Subscribe and Amend APIs, this field has the value of the subscription creation date.
- For a subscription changed by an amendment, this field has the value of the amendment booking date.
- For a subscription created or changed by an order, this field has the value of the order date.
notesstring
A string of up to 65,535 characters.
orderNumberstring
The order number of the order in which the changes on the subscription are made.
Note: This field is only available if you have the Order Metrics feature enabled. If you wish to have access to the feature, submit a request at Zuora Global Support. We will investigate your use cases and data before enabling this feature for you.
organizationLabelstring
The organization that this object belongs to.
Note: This field is available only when the Multi-Org feature is enabled.
originalListPricenumber
The original list price is the price of a product or service at which it is listed for sale by a manufacturer or retailer.
Note: This field applies to the following charges in a subscription created through an order:
- oneTimeFlatFee
- oneTimePerUnit
- recurringFlatFee
- recurringPerUnit
- usageFlatFee
- usagePerUnit
- usageOverage
- usageTieredWithOverage
paymentTermstring
The name of the payment term associated with the subscription. For example, Net 30. The payment term determines the due dates of invoices.
Note:
- If you have the <a href="https://docs.zuora.com?resourceId=billing-attributes-for-flexible-billing" target="_blank">Flexible Billing Attributes</a> feature disabled, this field is unavailable in the request body and the value of this field is null in the response body.
- If you have the Flexible Billing Attributes feature enabled, and you do not specify this field in the request or you select Default Term from Account for this field during subscription creation, the value of this field is automatically set to null in the response body.
renewalSettingstring
Specifies whether a termed subscription will remain TERMED or change to EVERGREEN when it is renewed.
Values are:
- RENEW_WITH_SPECIFIC_TERM (default)
- RENEW_TO_EVERGREEN
renewalTerminteger
The length of the period for the subscription renewal term.
renewalTermPeriodTypestring
The period type for the subscription renewal term.
Values are:
- Month (default)
- Year
- Day
- Week
revisionstring
An auto-generated decimal value uniquely tagged with a subscription. The value always contains one decimal place, for example, the revision of a new subscription is 1.0. If a further version of the subscription is created, the revision value will be increased by 1. Also, the revision value is always incremental regardless of deletion of subscription versions.
sequenceSetIdstring nullable
The ID of the sequence set associated with the subscription.
Note:
- If you have the <a href="https://docs.zuora.com?resourceId=billing-attributes-for-flexible-billing" target="_blank">Flexible Billing Attributes</a> feature disabled, this field is unavailable in the request body and the value of this field is null in the response body.
- If you have the Flexible Billing Attributes feature enabled, and you do not specify this field in the request or you select Default Set from Account for this field during subscription creation, the value of this field is automatically set to null in the response body.
communicationProfileIdstring nullable
The ID of the communication profile associated with the subscription.
Note: This field is available in the request body only if you have the <a href="https://docs.zuora.com/en/zuora-billing/bill-your-customer/leverage-advanced-capabilities/flexible-billing/flexible-billing-attributes/overview-of-flexible-billing-attributes" target="_blank">Flexible Billing Attributes</a>
feature turned on. The value is null in the response body without this feature turned on.
sequenceSetNamestring
The name of the sequence set associated with the subscription.
Note:
- If you have the <a href="https://docs.zuora.com?resourceId=billing-attributes-for-flexible-billing" target="_blank">Flexible Billing Attributes</a> feature disabled, the value of this field is null in the response body.
- If you have the Flexible Billing Attributes feature enabled, and you do not specify the sequenceSetId field in the request or you select Default Template from Account for the sequenceSetId field during subscription creation, the value of the sequenceSetName field is automatically set to null in the response body.
serviceActivationDatestring date
The date on which the services or products within a subscription have been activated and access has been provided to the customer, as yyyy-mm-dd
statusstring
Subscription status; possible values are:
- Draft
- Pending Activation
- Pending Acceptance
- Active
- Cancelled
- Suspended
subscriptionEndDatestring date
The date when the subscription term ends, where the subscription ends at midnight the day before.
For example, if the subscriptionEndDate is 12/31/2016, the subscriptions ends at midnight (00:00:00 hours) on 12/30/2016.
This date is the same as the term end date or the cancelation date, as appropriate.
subscriptionStartDatestring date
Date the subscription becomes effective.
successboolean
Returns true if the request was processed successfully.
termEndDatestring date
Date the subscription term ends. If the subscription is evergreen, this is null or is the cancellation date (if one has been set).
termStartDatestring date
Date the subscription term begins. If this is a renewal subscription, this date is different from the subscription start date.
termTypestring
Possible values are: TERMED, EVERGREEN.
scheduledCancelDatestring date
The date when the subscription is scheduled to be canceled.
scheduledSuspendDatestring date
The date when the subscription is scheduled to be suspended.
scheduledResumeDatestring date
The date when the subscription is scheduled to be resumed.
totalContractedValuenumber
Total contracted value of the subscription.
totalNumberOfChargeSegmentsinteger
Total number of charge segments in this subscription, including segments from removed charges. This value is the sum of the segments for all charges under the subscription.
Note: The default value is 0 if there are no charge segments.
versioninteger
This is the subscription version automatically generated by Zuora Billing. Each order or amendment creates a new version of the subscription, which incorporates the changes made in the order or amendment.
CpqBundleJsonId__QTstring
The Bundle product structures from Zuora Quotes if you utilize Bundling in Salesforce. Do not change the value in this field.
OpportunityCloseDate__QTstring date
The closing date of the Opportunity. This field is used in Zuora data sources to report on Subscription metrics. If the subscription originated from Zuora Quotes, the value is populated with the value from Zuora Quotes.
OpportunityName__QTstring
The unique identifier of the Opportunity. This field is used in Zuora data sources to report on Subscription metrics. If the subscription originated from Zuora Quotes, the value is populated with the value from Zuora Quotes.
QuoteBusinessType__QTstring
The specific identifier for the type of business transaction the Quote represents such as New, Upsell, Downsell, Renewal or Churn. This field is used in Zuora data sources to report on Subscription metrics. If the subscription originated from Zuora Quotes, the value is populated with the value from Zuora Quotes.
QuoteNumber__QTstring
The unique identifier of the Quote. This field is used in Zuora data sources to report on Subscription metrics. If the subscription originated from Zuora Quotes, the value is populated with the value from Zuora Quotes.
QuoteType__QTstring
The Quote type that represents the subscription lifecycle stage such as New, Amendment, Renew or Cancel. This field is used in Zuora data sources to report on Subscription metrics. If the subscription originated from Zuora Quotes, the value is populated with the value from Zuora Quotes.
IntegrationStatus__NSstring