Happy Business Starts Here

Create ProductRatePlanChargeTier for multiple currency, once new currencies activated in tenant.

Highlighted
Support SME

Create ProductRatePlanChargeTier for multiple currency, once new currencies activated in tenant.

Create ProductRatePlanChargeTier for multiple currency, once new currencies activated in tenant.






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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Support SME

Re: Create ProductRatePlanChargeTier for multiple currency, once new currencies activated in tenant.

Step1: Activate the Currency for the ProductRatePan using below call(include all the currencies for which the charge needs to be added including already active currencies)

 

 

<ns1:update>    
<ns1:zObjects xsi:type="ns2:ProductRatePlan">        
<ns2:Id>2c92c0f95b1abf80015b1f4f2c416665</ns2:Id>
<ns2:ActiveCurrencies>USD,EUR,AED</ns2:ActiveCurrencies>    
</ns1:zObjects>
</ns1:update>

 

Step2 : Once you update the ActiveCurrencies, then extract ProductRatePalnChargeTierIDs You will see entries of Tier Data for the currencies you activated above.

Now using below update call you can add the Price for required currency:

 

 

<ns1:update>    
<ns1:zObjects xsi:type="ns2:ProductRatePlanChargeTier">        
<ns2:Id>2c92c0f85b1ab293015b1f4f89f35061</ns2:Id>        
<ns2:Price>2</ns2:Price>    
</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 √

View solution in original post

1 REPLY 1
Highlighted
Support SME

Re: Create ProductRatePlanChargeTier for multiple currency, once new currencies activated in tenant.

Step1: Activate the Currency for the ProductRatePan using below call(include all the currencies for which the charge needs to be added including already active currencies)

 

 

<ns1:update>    
<ns1:zObjects xsi:type="ns2:ProductRatePlan">        
<ns2:Id>2c92c0f95b1abf80015b1f4f2c416665</ns2:Id>
<ns2:ActiveCurrencies>USD,EUR,AED</ns2:ActiveCurrencies>    
</ns1:zObjects>
</ns1:update>

 

Step2 : Once you update the ActiveCurrencies, then extract ProductRatePalnChargeTierIDs You will see entries of Tier Data for the currencies you activated above.

Now using below update call you can add the Price for required currency:

 

 

<ns1:update>    
<ns1:zObjects xsi:type="ns2:ProductRatePlanChargeTier">        
<ns2:Id>2c92c0f85b1ab293015b1f4f89f35061</ns2:Id>        
<ns2:Price>2</ns2:Price>    
</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 √

View solution in original post