patterns/list, references/list, products/list and orders/list return results in pages, newest first:
- Omit
cursorto get the first page. - Pass the response’s
nextCursorascursorto get the next page. Pass it back unchanged. - Stop when
nextCursorisnull. That is the last page.
Page size
Setlimit to choose how many results a page holds.
orders/list with a status filter can return fewer than limit orders on a page that isn’t the last.