PUT /v1/object/product-rate-plan-charge/{id}
Updates the information about a product rate plan charge.
Servers
- https://rest.test.zuora.com
- https://rest.sandbox.na.zuora.com
- https://rest.apisandbox.zuora.com
- https://rest.na.zuora.com
- https://rest.zuora.com
- https://rest.test.eu.zuora.com
- https://rest.sandbox.eu.zuora.com
- https://rest.eu.zuora.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The unique ID of the product rate plan charge to be updated. For example, 2c93808457d787030157e031fcd34e19. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
X-Zuora-WSDL-Version |
String | No |
Zuora WSDL version number. Default value: "79" |
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Content-Encoding |
String | No |
Include the |
Zuora-Track-Id |
String | No |
A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
Authorization |
String | No |
The value is in the |
Zuora-Entity-Ids |
String | No |
An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you do not need to set this header. |
Zuora-Org-Ids |
String | No |
Comma separated IDs. If you have Zuora Multi-Org enabled, you can use this header to specify which orgs to perform the operation in. If you do not have Zuora Multi-Org enabled, you should not set this header. The IDs must be a sub-set of the user's accessible orgs. If you specify an org that the user does not have access to, the operation fails. If the header is not set, the operation is performed in scope of the user's accessible orgs. |
Accept-Encoding |
String | No |
Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
rejectUnknownFields |
Boolean | No |
Specifies whether the call fails if the request body contains unknown fields.
With
By default, Zuora ignores unknown fields in the request body. Default value: false |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
Taxable |
Boolean | No |
Determines whether the charge is taxable. When set to Character limit: 5 Values: Note: This value affects the tax calculation of rate plan charges that come from the |
OverageCalculationOption |
String | No |
Determines when to calculate overage charges. If the value of the SmoothingMode field is not specified, the value of this field is ignored. Values:
Possible values:
|
Name |
String | No |
The name of the product rate plan charge. |
DrawdownUom |
String | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Unit of measurement for a drawdown charge. |
EndDateCondition |
String | No |
Defines when the charge ends after the charge trigger date. Values:
Note: If the subscription ends before the charge end date, the charge ends when the subscription ends. But if the subscription end date is subsequently changed through a Renewal, or Terms and Conditions amendment, the charge will end on the charge end date. Possible values:
Default value: "SubscriptionEnd" |
UpToPeriodsType |
String | No |
The period type used to define when the charge ends. Notes:
Possible values:
Default value: "Billing Periods" |
CreditOption |
String | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The way to calculate credit. See Credit Option for more information. Possible values:
|
IsUnbilled |
Boolean | No |
Specifies how to perform the accounting during revenue recognition. The default value is Values: Notes:
|
UseTenantDefaultForPriceChange |
Boolean | No |
Applies the tenant-level percentage uplift value for an automatic price change to a termed subscription's renewal. Character limit: 5 Values: |
MaxQuantity |
Number | No |
Specifies the maximum number of units for this charge. Use this field and the Character limit: 16 Values: a positive decimal value |
Class__NS |
String | No |
Class associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
ApplyDiscountTo |
String | No |
Specifies the type of charges that you want a specific discount to apply to. All field values are case sensitive and in all-caps. Possible values:
|
TaxMode |
String | No |
Determines how to define taxation for the charge. Required when the Taxable field is set to Note: This value affects the tax calculation of rate plan charges that come from the Possible values:
|
ChargeModelConfiguration |
Object | No |
Container for charge model configuration data. Notes:
|
ChargeModelConfiguration.ConfigurationItem[] |
Array | No |
An array of Charge Model Configuration Key-Value pairs. |
ChargeModelConfiguration.ConfigurationItem[].Key |
String | Yes |
The name of the field that is specified for a specific charge model. Configuration keys supported are as follows:
|
ChargeModelConfiguration.ConfigurationItem[].Value |
String | Yes |
The value of the field that is specified in the Possible values are follows:
|
ExcludeItemBillingFromRevenueAccounting |
Boolean | No |
The flag to exclude the related invoice items, invoice item adjustments, credit memo items, and debit memo items from revenue accounting. Notes:
Default value: false |
TriggerEvent |
String | Yes |
Specifies when to start billing the customer for the charge. Values:
Possible values:
|
BillingTiming |
String | No |
The billing timing for the charge. You can choose to bill in advance or in arrears for recurring charge types. This field is not used in one-time or usage based charge types. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. Possible values:
|
ProductFamily |
String | No |
This field is used to maintain the product family for integration with Zuora Revenue. Notes:
|
ValidityPeriodType |
String | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The period in which the prepayment units are valid to use as defined in a prepayment charge. Possible values:
|
DeferredRevAccount__NS |
String | No |
Deferrred revenue account associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
PriceIncreasePercentage |
Number | No |
Specifies the percentage to increase or decrease the price of a termed subscription's renewal. Use this field if you set the value to Character limit: 16 Values: a decimal value between -100 and 100 |
RevRecTemplateType__NS |
String | No |
Only available if you have installed the Zuora Connector for NetSuite. |
RevenueRecognitionRuleName |
String | No |
Determines when to recognize the revenue for this charge. Possible values:
|
IsRollover |
Boolean | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The value is either "True" or "False". It determines whether the rollover fields are needed. |
IntegrationId__NS |
String | No |
ID of the corresponding object in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
ProductLine |
String | No |
This field is used to maintain the product line for integration with Zuora Revenue. Notes:
|
Department__NS |
String | No |
Department associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
BillingPeriod |
String | Yes |
The billing period for the charge. The start day of the billing period is also called the bill cycle day (BCD). Notes:
Possible values:
|
RevenueRecognitionTiming |
String | No |
Specifies the type of revenue recognition timing. Predefined options are listed as enum values in this API Reference. Other options might also be avaliable depending on the revenue recognition policy configuration in the Zuora Billing UI. To use this field, you must set the Note: This field is only available if you have the Order to Revenue feature enabled. Possible values:
|
UseDiscountSpecificAccountingCode |
Boolean | Yes |
Determines whether to define a new accounting code for the new discount charge. Character limit: 5 Values: |
LegacyRevenueReporting |
Boolean | No | |
RevRecEnd__NS |
String | No |
End date condition of the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. Possible values:
|
WeeklyBillCycleDay |
String | No |
Specifies which day of the week as the bill cycle day (BCD) for the charge. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. Possible values:
|
RevRecStart__NS |
String | No |
Start date condition of the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. Possible values:
|
RolloverPeriods |
Number | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines the number of rollover periods, it is restricted to 3. |
ExcludeItemBookingFromRevenueAccounting |
Boolean | No |
The flag to exclude the related rate plan charges and order line items from revenue accounting. Notes:
Default value: false |
BillCycleType |
String | Yes |
Specifies how to determine the billing day for the charge. Notes:
Possible values:
|
SpecificBillingPeriod |
Integer | No |
Customizes the number of months or weeks for the charges billing period. This field is required if you set the value of the BillingPeriod field to |
ApplyToBillingPeriodPartially |
Boolean | No |
Allow the discount duration to be aligned with the billing period partially. Note: You must enable the Enhanced Discount feature to access this field. |
IsStackedDiscount |
Boolean | No |
Note: This field is only applicable to the Discount - Percentage charge model. To use this field, you must set the This field indicates whether the discount is to be calculated as stacked discount. Possible values are as follows:
For more information, see Stacked discounts. |
ProductRatePlanId |
String | Yes |
The ID of the product rate plan associated with this product rate plan charge. |
UsageRecordRatingOption |
String | No |
Determines how Zuora processes usage records for per-unit usage charges. Possible values:
Default value: "EndOfBillingPeriod" |
OverageUnusedUnitsCreditOption |
String | No |
Determines whether to credit the customer with unused units of usage. Possible values:
|
RecognizedRevenueAccount |
String | No |
The name of the recognized revenue account for this charge.
This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
ProductCategory |
String | No |
This field is used to maintain the product category for integration with Zuora Revenue. Notes:
|
DiscountLevel |
String | No |
Specifies if the discount applies to just the product rate plan, the entire subscription, or to any activity in the account. Possible values:
|
Location__NS |
String | No |
Location associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
RevRecTriggerCondition |
String | No |
Specifies when revenue recognition begins. Possible values:
|
UpToPeriods |
Integer | No |
Specifies the length of the period during which the charge is active. If this period ends before the subscription ends, the charge ends when this period ends. Character limit: 5 Values: a whole number between 0 and 65535, exclusive Notes:
|
PriceChangeOption |
String | No |
Applies an automatic price change when a termed subscription is renewed. Possible values:
Default value: "NoChange" |
RolloverPeriodLength |
Integer | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The period length of the rollover fund. |
PrepaidUom |
String | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Unit of measurement for a prepayment charge. |
RevenueAmortizationMethod |
String | No |
Specifies the type of revenue amortization method. Predefined options are listed as enum values in this API Reference. Other options might also be avaliable depending on the revenue recognition policy configuration in the Zuora Billing UI. To use this field, you must set the Note: This field is only available if you have the Order to Revenue feature enabled. Possible values:
|
MinQuantity |
Number | No |
Specifies the minimum number of units for this charge. Use this field and the Character limit: 16 Values: a positive decimal value |
TaxCode |
String | No |
Specifies the tax code for taxation rules. Required when the Taxable field is set to Note: This value affects the tax calculation of rate plan charges that come from the |
DrawdownRate |
Number | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The conversion rate between Usage UOM and Drawdown UOM for a drawdown charge. See Fields related to Prepaid with Drawdown for more information. |
ProductRatePlanChargeTierData |
Object | Yes |
Container for pricing information associated with the product rate plan charge. |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[] |
Array | No |
Array of product rate plan charge tiers. You should specify all relevant fields of all tiers, including pricing information for each currency. For each currency, ensure that the tiers appear in ascending order of For example:
|
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].Currency |
String | No |
The code corresponding to the currency for the tier's price. |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].Price |
Number | No |
The price of the tier if the charge is a flat fee, or the price of each unit in the tier if the charge model is tiered pricing. |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].DiscountAmount |
Number | No |
The specific amount for a fixed discount. Required if the charge model of the product rate plan charge is |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].PriceFormat |
String | No |
Indicates if pricing is a flat fee or is per unit. This field is for tiered and volume pricing models only. Possible values:
|
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].IsOveragePrice |
Boolean | No |
Indicates if the price is an overage price, which is the price when usage surpasses the last defined tier. |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].DiscountPercentage |
Number | No |
The percentage of discount for a percentage discount. Required if the charge model of the product rate plan charge is |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].EndingUnit |
Number | No |
The end number of a range of units for the tier. Required if the charge model of the product rate plan charge is |
ProductRatePlanChargeTierData.ProductRatePlanChargeTier[].StartingUnit |
Number | No |
The starting number of a range of units for the tier. Required if the charge model of the product rate plan charge is |
DeferredRevenueAccount |
String | No |
The name of the deferred revenue account for this charge. This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support. |
DeliverySchedule |
Object | No | |
DeliverySchedule.frequency |
String | No |
The frequency of the delivery. Only supports weekly now Possible values:
|
DeliverySchedule.friday |
Boolean | No |
The flag to indicate should the delivery happen on Friday |
DeliverySchedule.wendesday |
Boolean | No |
The flag to indicate should the delivery happen on Wendesday |
DeliverySchedule.sunday |
Boolean | No |
The flag to indicate should the delivery happen on Sunday |
DeliverySchedule.saturday |
Boolean | No |
The flag to indicate should the delivery happen on Saturday |
DeliverySchedule.monday |
Boolean | No |
The flag to indicate should the delivery happen on Monday |
DeliverySchedule.thursday |
Boolean | No |
The flag to indicate should the delivery happen on Thursday |
DeliverySchedule.tuesday |
Boolean | No |
The flag to indicate should the delivery happen on Tuesday |
Description |
String | No |
A description of the charge. |
PriceIncreaseOption |
String | No |
Applies an automatic price change when a termed subscription is renewed. Possible values:
|
IncludeChildren__NS |
String | No |
Specifies whether the corresponding item in NetSuite is visible under child subsidiaries. Only available if you have installed the Zuora Connector for NetSuite. Possible values:
|
DefaultQuantity |
Number | No |
The default quantity of units, such as the number of authors in a hosted wiki service. This field is required if you use a per-unit pricing model. Character limit: 16 Values: a valid quantity value. Note: When the |
ItemType__NS |
String | No |
Type of item that is created in NetSuite for the product rate plan charge. Only available if you have installed the Zuora Connector for NetSuite. Possible values:
|
SyncDate__NS |
String | No |
Date when the product rate plan charge was synchronized with NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
IsPrepaid |
Boolean | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the Indicates whether this charge is a prepayment (topup) charge or a drawdown charge. Values: |
IsAllocationEligible |
Boolean | No |
Indicates whether the charge segment is allocation eligible in revenue recognition. The default value is Values: Notes:
|
BillCycleDay |
Integer | No |
Sets the bill cycle day (BCD) for the charge. The BCD determines which day of the month customer is billed. The BCD value in the account can override the BCD in this object. Character limit: 2 Values: a valid BCD integer, 1 - 31 |
SmoothingModel |
String | No |
Specifies the smoothing model for an overage smoothing charge model. Possible values:
|
RecognizedRevAccount__NS |
String | No |
Recognized revenue account associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
IncludedUnits |
Number | No |
Specifies the number of units in the base set of units. Character limit: 16 Values: a positive decimal value |
RolloverApply |
String | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the This field defines the priority of rollover, which is either first or last. Possible values:
|
ChargeFunction |
String | No |
Note: This field is only available if you have the Unbilled Usage feature enabled. To use this field, you must set the This field defines what type of charge it is in Advanced Consumption Billing:
Possible values:
|
IntegrationStatus__NS |
String | No |
Status of the product rate plan charge's synchronization with NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
BillingPeriodAlignment |
String | No |
Aligns charges within the same subscription if multiple charges begin on different dates. Note: The Possible values:
|
ProductClass |
String | No |
This field is used to maintain the product class for integration with Zuora Revenue. Notes:
|
UOM |
String | No |
Specifies the units to measure usage. Note: You must specify this field when creating the following charge models:
|
ListPriceBase |
String | No |
The list price base for the product rate plan charge. Possible values:
|
PrepaidQuantity |
Number | No |
Note: This field is only available if you have the Prepaid with Drawdown feature enabled. To use this field, you must set the The number of units included in a prepayment charge. Must be a positive number. |
Formula |
String | No |
The price lookup formula defined for the product rate plan charge, which is used to identify the correct and relevant charge definition based on the context. For more information, see Price lookup in Attribute-based Pricing. Notes:
|
SpecificListPriceBase |
Integer | No |
The number of months for the list price base of the charge. This field is required if you set the value of the Notes:
|
NumberOfPeriod |
Integer | No |
Specifies the number of periods to use when calculating charges in an overage smoothing charge model. The valid value must be a positive whole number. |
AccountingCode |
String | No |
The accounting code for the charge. Accounting codes group transactions that contain similar accounting attributes. |
CommitmentType |
String | No |
Note: This field is only available if you have the Unbilled Usage feature enabled. To use this field, you must set the This field defines the type of commitment. A prepaid charge can be
For drawdown(usage) charges, this field indicates what type of funds are drawdown from that created from topup charges. Possible values:
|
RevRecCode |
String | No |
Associates this product rate plan charge with a specific revenue recognition code. |
ProductRatePlanChargeNumber |
String | No |
The natural key of the product rate plan charge. For existing Product Rate Plan Charge objects that are created before this field is introduced, this field will be null. Use this field to specify a value for only these objects. Zuora also provides a tool to help you automatically backfill this field with tenant ID for your existing product catalog. If you want to use this backfill tool, contact Zuora Global Support. Note: This field is only available if you set the |
RatingGroup |
String | No |
Specifies a rating group based on which usage records are rated. Possible values:
Note:
Possible values:
Default value: "ByBillingPeriod" |
ChargeModel |
String | Yes |
Determines how to calculate charges. Charge models must be individually activated in Zuora Billing administration. Notes:
Possible values:
|
Subsidiary__NS |
String | No |
Subsidiary associated with the corresponding item in NetSuite. Only available if you have installed the Zuora Connector for NetSuite. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.