Happy Business Starts Here

Zuora Alumni

How to update Product Rate Plan Charge Tiers via update call

Problem Statement: How can I update Product Rate Plan Charge Tiers via update call?

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Highlighted
Zuora Alumni

Re: How to update Product Rate Plan Charge Tiers via update call

Solution: 

 

In current product design, it does not allow updating existing Product Rate Plan Charge Tiers. We will need to create a new set of tiers which overwrites the existing ones.

To update product rate plan charge tiers:
1. Specify all required fields for the updated charge.
2. Replace the entire set of ProductRatePlanChargeTier objects. You must update the entire set of ProductRatePlanChargeTier objects in one call. To do this, use the ProductRatePlanChargeTierData wrapper object in the ProductRatePlanCharge object.

 

Here is one example of the update call:

 

<ns1:update>
<ns1:zObjects xsi:type="ns2:ProductRatePlanCharge">
<ns2:Id>2c92c0f94f0548fe014f080b91042888</ns2:Id>
<ns2:BillCycleDay>1</ns2:BillCycleDay>
<ns2:BillCycleType>DefaultFromCustomer</ns2:BillCycleType>
<ns2:BillingPeriod>Month</ns2:BillingPeriod>
<ns2:BillingPeriodAlignment>AlignToCharge</ns2:BillingPeriodAlignment>
<ns2:ChargeModel>Volume Pricing</ns2:ChargeModel>
<ns2:Name>VP2</ns2:Name>
<ns2:ProductRatePlanChargeTierData>
<ns1:ProductRatePlanChargeTier> 
<ns2:Id>2c92c0f94f0548fe014f080b91052889</ns2:Id>
<ns2:Price>10</ns2:Price> 
<ns2:PriceFormat>Flat Fee</ns2:PriceFormat> 
</ns1:ProductRatePlanChargeTier> 
<ns1:ProductRatePlanChargeTier> 
<ns2:Id>2c92c0f94f0548fe014f080b9105288a</ns2:Id>
<ns2:Price>12</ns2:Price> 
<ns2:PriceFormat>Flat Fee</ns2:PriceFormat> 
</ns1:ProductRatePlanChargeTier> 
</ns2:ProductRatePlanChargeTierData>
</ns1:zObjects>
</ns1:update>

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √