In our implementation we are using Zuora REST API in an application which runs periodically. We are trying to: 1. Get subscriptions containing rate plan charges with certain product rate plan charges included in three steps: a) first get the rate plan identifiers of the rate plan charges that contain certain product rate plan charges (ZOQL) b) then get the subscription identifiers of this rate plans (still ZOQL) c) finally, get the subscriptions VIA subscriptions API. 2. Enter them to ERP and write ERP identifiers back to rate plan charges. The update call to a subscription API succeeds but, to my surprize, creates an amendment, which in fact means another subscription with the same name (number) in Zuora database. As a result when my application runs the second time trying to fetch rate plan charges with certain products not processed by my application, it gets the identifiers of the previous versions of subscription rate plan charges that were already processed. I know there is a variable on a subscription entity indicating whether or not it is active but I wouldn't like to fetch all the active subscriptions because not all of them contain the rate plan charges I would like to process. The biggest issue for me is a fact that the new subscription entity is created when updating the rate plan charge, and the old one is being kept in the database. That's why I would like to find a way to perform an update without creating an amendment. Is there any way to do that?
... View more