Happy Business Starts Here

Zuora Alumni

How to Cancel Accounts

Question: How can we set a customer account to Canceled status through an integration?



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

4 REPLIES 4
Zuora Alumni

Re: How to Cancel Accounts

Solution: You can use SOAP API update() call to accomplish this task.

 

Note: You must cancel all account subcriptions prior to executing this call.

 

Example update() call:

</ns1:update>
<ns1:zObjects xsi:type="ns2:Account"> <ns2:Id>2c92a0f93a40f507013a497351127886</ns2:Id> <ns2:Status>Canceled</ns2:Status> </ns1:zObjects> </ns1:update> <ns1:result> <ns1:Id>2c92a0f93a40f507013a497351127886</ns1:Id> <ns1:Success>true</ns1:Success> </ns1:result>

You can use the query() to get account ID or use a Data Source Export.

 

References:



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

Tags (2)
Highlighted
Zuora Alumni

Re: How to Cancel Accounts

You can also use REST to cancel an Account using the CRUD: Update Account REST Call



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

Student

Re: How to Cancel Accounts

Hi, I realize this is an old topic but how do we cancel accounts using the Update action? It says in the docs we use cancel if we use the Create call. What does this mean exaclty?

Zuora Documentation

Re: How to Cancel Accounts

Sorry for the confusion. The status field description has been updated for clarity in API Reference. 

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