Happy Business Starts Here

Highlighted
Newly Enrolled

How to retrieve the RatePlanCharge of the last subscription version? API

Hello,

 

I am trying to retrieve the RatePlanCharges linked to the last version of a subscription with the REST API, I thought the field IsLastSegment would tell me whether I am requesting the data from the last subscription or not, apparently each time the value of this field is set to true.

 

Is there any information that could help me filter the RatePlanCharges by a Subscription version?

1 REPLY 1
Zuora Staff

Re: How to retrieve the RatePlanCharge of the last subscription version? API

Hello,

 

You can add an additional filter RatePlanCharge.IsLastSegment = True to exclude the previous versions of the RatePlanCharge.

 

https://knowledgecenter.zuora.com/DC_Developers/Aggregate_Query_API/B_Submit_Query/b_Post_Query_with...

 

 



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