Pagination
Endpoints such as items and orders use cursor based pagination to navigate through results efficiently.
When you make a request to one of these endpoints, the response includes the first page of results in the response body , and also a Link header that provides a URL to the next page. You can use the this header to continue fetching additional pages sequentially.
Example of Link header from the Sandbox environment:
Link: <https://dropshipping.thredtest.com/api/v1.0/items?last_item_number=1000000010&page_size=2>; rel=next
In the example above, the URL:
https://dropshipping.thredtest.com/api/v1.0/items?last_item_number=1000000010&page_size=2
points to the next page of results.