Happy Business Starts Here

Re: Error: For the Update Product & Remove Product Amendments: new srp and base srp must not

Zuora Alumni

Error: For the Update Product & Remove Product Amendments: new srp and base srp must not be null

Question: I'm using create () to create an amendment that removes a product.   Why am I getting the below error?

 

For the Update Product & Remove Product Amendments: new srp and base srp must not be null



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

2 REPLIES 2
Zuora Alumni

Re: Error: For the Update Product & Remove Product Amendments: new srp and base srp must not

Answer: In version 25.0, Zuora added functionality to amend subscriptions in a single create() call. Zuora recommends that all Z-Commerce API users use the amend() functionality. However, if you use create() and want to amend the subscription in a single call, you must set the CallOptions in your SOAP header and set useSingleTransaction to true.

 

Related KC article: https://knowledgecenter.zuora.com/DC_Developers/G_SOAP_API/E1_SOAP_API_Object_Reference/Amendment/Re...



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

Highlighted
New Student

Re: Error: For the Update Product & Remove Product Amendments: new srp and base srp must not

I am getting this error when using the REST API in the sandbox environment "https://rest.apisandbox.zuora.com". Is there a header I need to set?