Some APIs return more results than may be conveniently returned in a single API call.  These are called Paged APIs.  Here's how it works...

  1. Make a call to a paged API, say Get Item Inventory
  2. If the call doesn't return a pageId then there aren't any more results
  3. If the call does return a pageId then you should continue calling the API passing in the same pageId until you get back an empty page of results
  4. Note that whenever you pass in a pageId you don't have to pass in any query parameters that you originally used to make the API call with since the search results were saved off after the first call and the query parameters will be ignored on subsequent requests
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.