I want to fetch all customer accounts from Zuora. Apart from Exports REST API, Is there any API available to fetch all accounts in a paginated list?
How to fetch collection of Zuora Accounts using REST API
459 views Asked by Achaius At
2
There are 2 answers
0
On
If you don't want to use Data Query or any queue-based solution like that, use Zoql instead.
Note! You need to know all fields from the Account object you need, the asterisk (select *) doesn't work here:
select Id, ParentId, AccountNumber, Name from Account
You may also add custom fields into your selection. You will get up to 200 records per page.
This is the format I used to fetch revenue invoices, use this code and change the endpoint