Happy Business Starts Here

API: Add a new "future" or "pending" charge-detail to get subscriptions

0 Kudos

API: Add a new "future" or "pending" charge-detail to get subscriptions

In the REST API, add a new "future" or "pending" charge-detail to "get subscriptions by account" with ratePlanCharges that are all in the future.

Currently it's only possible to either get all, only the current or ratePlanCharges at a specific date.

 

https://www.zuora.com/developer/api-reference/#operation/GET_SubscriptionsByAccount

 

However it would be nice to be able to pull only the ones in the future. We needed this in several projects already and currently the only way is to pull all of them and then filter down using the date field.

 

So instead of "charge-detail=current-segment" it would be nice to also be able to use "charge-detail=future-segment" or "pending-segment".