On API methods that return a list of records, you can pass in page to obtain the current page to retrieve. The default page size is 50 records per page. You can obtain the total number of pages to retrieve in the response header with the key VersAccounts-total-page. The page size is returned in the response header with the key VersAccounts-total-page and the current page is returned using the key VersAccounts-current-page
You would pass in the page parameter like this.
/v1/product.json?page=2
/v1/product.json?page=2&per_page=100
The default page size is 50. Override the page size with per_page
Comments and Suggestions
0 comments
Please sign in to leave a comment.
Related articles