idstring
The unique identifier of the subscription.
createdByIdstring
The unique identifier of the user who created the subscription.
createdDatestring date-time
The date and time when the subscription was created in the Zuora
system, in the yyyy-mm-dd hh:mm:ss format.
updatedByIdstring
The unique identifier of the user who last updated the subscription.
updatedDatestring date-time
The date and time when the subscription was last updated, in the yyyy-mm-dd hh:mm:ss format.
accountIdstring
The ID of the account associated with this subscription.
autoRenewboolean
If true, the subscription automatically renews at the end of the
term.
cancelledDatestring date
The date on which the subscription was canceled.
contractAcceptanceDatestring date
The date when the customer accepts the contract, in the yyyy-mm-dd format.
If this field is not set:
-
If the serviceActivationDate field is not set, the value of this
field is set to be the contract effective date.
-
If the serviceActivationDate field is set, the value of this field
is set to be the service activation date.
The billing trigger dates must follow this rule:
contractEffectiveDate <= serviceActivationDate <=
contractAcceptanceDate
contractEffectiveDatestring date
The date when the subscription is activated, in the yyyy-mm-dd format.
You must specify a Service Activation date if the Customer Acceptance
date is set. If the Customer Acceptance date is not set, the value of
the serviceActivationDate field defaults to be the Contract
Effective Date.
The billing trigger dates must follow this rule:
contractEffectiveDate <= serviceActivationDate <=
contractAcceptanceDate
creatorAccountIdstring
The ID of the account that created the subscription. This field is
automatically populated with the ID of the account that creates the
subscription.
creatorInvoiceOwnerIdstring
The account ID that owns the invoices associated with the subscription or the amended subscription.
currentTerminteger
The length of the period for the current subscription term.
currentTermPeriodType'Month' | 'Year' | 'Day' | 'Week'
The period type for the current subscription term.
initialTerminteger
The length of the period for the initial subscription term.
initialTermPeriodType'Month' | 'Year' | 'Day' | 'Week'
The period type for the first subscription term.
invoiceOwnerIdstring
The account ID that owns the invoices associated with the subscription.
isInvoiceSeparateboolean
Determines if the subscription is invoiced separately.
If true, then all charges for this subscription are collected into the subscription's own invoice.
namestring
The name of the subscription.
notesstring
Additional information about the subscription.
originalCreatedDatestring
The date when the subscription was originally created.
This value is the same as the createdDate value until the subscription is amended.
originalIdstring
The original rate plan charge ID. Only available for update
subscription.
previousSubscriptionIdstring
The ID of the previous subscription. This field is only available if
the subscription is a renewal subscription.
renewalSetting'RENEW_WITH_SPECIFIC_TERM' | 'RENEW_TO_EVERGREEN'
Specifies whether a termed subscription will remain TERMED or change to EVERGREEN when it is renewed.
renewalTerminteger
The length of the period for the subscription renewal term.
renewalTermPeriodType'Month' | 'Year' | 'Day' | 'Week'
The period type for the subscription renewal term.
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.
serviceActivationDatestring date
The date on which the services or products within a subscription have been activated and access has been provided to the customer, in the yyyy-mm-dd format.
status'Draft' | 'Pending Activation' | 'Pending Acceptance' | 'Active' | 'Cancelled' | 'Suspended'
isLatestVersionboolean
If true, the current subscription object is the latest version.
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.
subscriptionVersionAmendmentIdstring
The ID of the amendment made to this subscription version.
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.
termType'TERMED' | 'EVERGREEN'
The type of the subscription term.
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.
cMRRnumber
Monthly recurring revenue of the subscription.
billToContactSnapshotIdstring
The ID of the bill-to contact snapshot.
billToContactIdstring
The ID of the bill-to contact for the subscription.
invoiceTemplateIdstring
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.
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.
shipToContactIdstring
The ID of the ship-to contact for the subscription.
shipToContactSnapshotIdstring
The ID of the ship-to contact snapshot.
soldToContactIdstring
The ID of the sold-to contact for the subscription.
soldToContactSnapshotIdstring
The ID of the sold-to contact snapshot.
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.
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.
invoiceScheduleIdstring
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.
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.
prepaymentboolean
Whether the subscription is prepaid.
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.
orderIdstring
The ID of the order associated with the subscription.
Note: This field is available only for orders that exist after the end of June 2023.
rampIdstring
The ID of the ramp object associated with the subscription.
Note: This field is available only if you have the <a
href="https://docs.zuora.com?resourceId=billing-overview-ramp-and-ramp-metrics"
target="_blank">Ramp</a> feature enabled.
paymentTermstring
Name of the payment term associated with the account. For example,
"Net 30". The payment term determines the due dates of invoices.
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.
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.
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.
opportunityCloseDate__QTstring date
cpqBundleJsonId__QTstring
The Bundle product structures from Zuora Quotes if you utilize Bundling in Salesforce. Do not change the value in this field.