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:
- Make a call to a paged API, say Get Item Inventory.
- If the call doesn't return a pageId then there aren't any more results
- 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
- 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