Zuora Staff

Re: Programmatically Update effective price



For some context, what kind of Quotes are you cloning? Can you provide some information on the reason for the customization?


If you are cloning a New Subscription Quote, you should be able to use the "cloneQuote(...)" method described in the Knowledge Center for our Quote global class:



Note that the above method allows you to automatically clone Products in addition to the Quote (for New Subscription only).


You should be able to use other methods in the same "Quote" global class above to handle adding/removing/updating products on the Quote.


Note if you are cloning Quotes that are not New Subscription, you will need to update various IDs to tie the Quote to the proper Zuora objects.