c# - How to use Pagination filter in getOrders call (eBay Trading API)? -
i write c# application, gets orders ebay.
the problem can 100 orders getorders.apiresponse.orderarray.
i have 1000 orders. how other 900? in words, how iterate through ebay orders using hasmoreorders call , pagination.pagenumber?
in getorders first call can find no of items / pages in result
you should loop through each page & call getorders api call different page number
for(int index=0; index<orders.pages; index++) { //build getorders request pagenumber - index // call api & getorders response //manipulate result }
Comments
Post a Comment