Happy Business Starts Here

Fetching Account IDs for all accounts

Highlighted
Newly Enrolled

Fetching Account IDs for all accounts

Is it possible to fetch every account id? I need to do some auditing from our system which involved looping over every account and confirming some data in our system is the same as Zuora.

Tags (2)
3 REPLIES 3
Highlighted
Newly Enrolled

Re: Fetching Account IDs for all accounts

I should add I'm currently using the REST API.

Highlighted
Zuora Alumni

Re: Fetching Account IDs for all accounts

Hello,

 

You can issue a generic query using the New Rest Action call

 

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

 

Regards,



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

Highlighted
Master

Re: Fetching Account IDs for all accounts

You didn't specify what language. Here's a python framework that will get you going. You can type export zoql into the command line and get the data back. Should be easy to capture it in some other format (csv, etc).

 

https://github.com/bolaurent/zuora-restful-python