getting Error on Subscription Ammendemnt "For the New Product Amendment: new srp must not be null, "
I am using Zuora Workflow to amend an existing subscription and add new products. I can run it successfully when the status is Draft but it create new products in Draft status on a given subscription. when I pass the status as Completed it's giving me this error
"For the New Product Amendment: new srp must not be null, and base srp should be null."
I am using "/amendment" API call to amend it. and here is the JSON I am passing
I am following this link
and using the first approach, that is API version 29.0+. I checked from google people are suggesting to use this
"you must set the CallOptions in your SOAP header and set useSingleTransaction to true."
but since I am not using that approach I am not sure that will apply to my problem or not. secondly, I can't find CallOptions anywhere in Settings, if anyone can help me how to set that boolean flag to true? I can give it a try as well.
I am new to Zuora and Workflows so I am not sure what I am doing wrong here. any help would be much appreciated. Thanks
Re: getting Error on Subscription Ammendemnt "For the New Product Amendment: new srp must not b
Try using the POST Amend Call from the API Developer Guide. From the payload you have shared and the call, it looks to be REST API while the document you have been following is of SOAP API. Please follow the document in Action_POSTamend which should help you resolve your issue.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √