Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 6.99 KB

POSTSubscriptionPreviewType.md

File metadata and controls

29 lines (26 loc) · 6.99 KB

Zuora::POSTSubscriptionPreviewType

Properties

Name Type Description Notes
opportunity_close_date_qt String The closing date of the Opportunity. This field is populated when the subscription originates from Zuora Quotes. This field is used only for reporting subscription metrics. [optional]
opportunity_name_qt String The unique identifier of the Opportunity. This field is populated when the subscription originates from Zuora Quotes. This field is used only for reporting subscription metrics. [optional]
quote_business_type_qt String The specific identifier for the type of business transaction the Quote represents such as New, Upsell, Downsell, Renewal, or Churn. This field is populated when the subscription originates from Zuora Quotes. This field is used only for reporting subscription metrics. [optional]
quote_number_qt String The unique identifier of the Quote. This field is populated when the subscription originates from Zuora Quotes. This field is used only for reporting subscription metrics. [optional]
quote_type_qt String The Quote type that represents the subscription lifecycle stage such as New, Amendment, Renew or Cancel. This field is populated when the subscription originates from Zuora Quotes. This field is used only for reporting subscription metrics. [optional]
account_key String Customer account number or ID. You must specify the account information either in this field or in the `previewAccountInfo` field with the following conditions: * If you already have a customer account, specify the account number or ID in this field. * If you do not have a customer account, provide account information in the `previewAccountInfo` field. [optional]
contract_effective_date Date Effective contract date for this subscription, as yyyy-mm-dd.
customer_acceptance_date Date The date on which the services or products within a subscription have been accepted by the customer, as yyyy-mm-dd. Default value is dependent on the value of other fields. See Notes section for more details. [optional]
include_existing_draft_doc_items BOOLEAN Specifies whether to include draft invoice items in subscription previews. Values are: * `true` (default). Includes draft invoice items in the preview result. * `false`. Excludes draft invoice items in the preview result. Note: This field is in Zuora REST API version control. Supported minor versions are 207.0 or later. To use this field in the method, you must set the zuora-version parameter to the minor version number in the request header. See Zuora REST API Versions for more information. [optional]
include_existing_draft_invoice_items BOOLEAN Specifies whether to include draft invoice items in previews. Values are: * `true` (default). Includes draft invoice items in the preview result. * `false`. Excludes draft invoice items in the preview result. Note: This field is in Zuora REST API version control. Supported minor versions are 186.0, 187.0, 188.0, 189.0, and 196.0. See Zuora REST API Versions for more information. [optional]
initial_term Integer Duration of the first term of the subscription, in whole months. Default is `0`. If `termType` is `TERMED`, then this field is required, and the value must be greater than `0`. If `termType` is `EVERGREEN`, this field is ignored. [optional]
initial_term_period_type String The period type of the initial term. Supported values are: * `Month` * `Year` * `Day` * `Week` [optional]
invoice_owner_account_key String Invoice owner account number or ID. Note: This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. [optional]
invoice_target_date Date Date through which to calculate charges if an invoice is generated, as yyyy-mm-dd. Default is current date. Note: This field is in Zuora REST API version control. Supported minor versions are 186.0, 187.0, 188.0, 189.0, and 196.0. See Zuora REST API Versions for more information. [optional]
notes String String of up to 500 characters. [optional]
preview_account_info POSTSubscriptionPreviewTypePreviewAccountInfo [optional]
preview_type String The type of preview you will receive. This field is in Zuora REST API version control. The supported values of this field depend on the REST API minor version you specified in the request header. * If you do not specify the REST API minor version or specify the minor version number to one of following values in the request header: * 186.0 * 187.0 * 188.0 * 189.0 * 196.0 The following values are supported in the previewType field: * InvoiceItem * ChargeMetrics * InvoiceItemChargeMetrics The default value is InvoiceItem. * If you specify the REST API minor version to 207.0 or later in the request header, the following values are supported in the previewType field: - LegalDoc - ChargeMetrics - LegalDocChargeMetrics The default value is LegalDoc. See Zuora REST API Versions for more information. [optional]
service_activation_date 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. Default value is dependent on the value of other fields. See Notes section for more details. [optional]
subscribe_to_rate_plans Array<POSTSrpCreateType> Container for one or more rate plans for this subscription.
target_date Date Date through which to calculate charges if an invoice is generated, as yyyy-mm-dd. Default is current date. Note: This field is in Zuora REST API version control. Supported minor versions are 207.0 or later. To use this field in the method, you must set the zuora-version parameter to the minor version number in the request header. See Zuora REST API Versions for more information. [optional]
term_start_date Date The date on which the subscription term begins, as yyyy-mm-dd. If this is a renewal subscription, this date is different from the subscription start date. [optional]
term_type String Possible values are: `TERMED`, `EVERGREEN`.