All top-level API resources have support for bulk fetches through “list” API methods. For example, you can list invoices in accounts payable and accounts receivable. These list API methods share a common structure and accept, at a minimum, the following three parameters: options_page, options_pageSize, options_sortBy and options_sortOrder.
options_page
Page number (0 or greater).
options_pageSize
optional | default: 100
Page size (maximum: 1000).
options_sortBy
optional
Sort field defined by endpoint. For instance, accounts receivable invoices could have NUMBER, DATE, DUE_BY and AMOUNT.
options_sortOrder
optional | default: ASC
Sort order: ASC or DESC.