Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 5.82 KB

POSTSubscriptionPreviewType.md

File metadata and controls

26 lines (22 loc) · 5.82 KB

POSTSubscriptionPreviewType

Properties

Name Type Description Notes
account_key str 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 bool 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 bool 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 int 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 str The period type of the initial term. Supported values are: * `Month` * `Year` * `Day` * `Week` [optional]
invoice_owner_account_key str 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 str String of up to 500 characters. [optional]
preview_account_info POSTSubscriptionPreviewTypePreviewAccountInfo [optional]
preview_type str 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 list[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 str Possible values are: `TERMED`, `EVERGREEN`.

[Back to Model list] [Back to API list] [Back to README]