I write C# application, which gets orders from Ebay.
The problem is I can get only 100 orders from getOrders.ApiResponse.OrderArray.
I have about 1000 orders. How to get other 900? In another words, how to iterate through ebay orders by using HasMoreOrders call and Pagination.PageNumber?
2
Answers
In the first GetOrders call itself you can find the total no of items and Pages in the result
You should loop through each page & call GetOrders API call with different page number
The response itself contains the current page number and total number of pages. You will need to do a new request per page.
Take a look at the following code I wrote to get all results from each page (this is with the Finding API, but works the same for all other eBay APIs):