The standard Wix API pagination includes:
limit: amount of items per response (defaults will be defined per use case)
offset: number of items to skip
The following example:
Should return items 21-120 in the collection.
Wix Stores query endpoints are designed to handle a max of 10k data items. Therefore, if a user's store includes ~10k relevant items (e.g., products, inventory items), limit and offset may fail.
Instead, filter by numericId
and sort in ascending order:
Then copy the last numericId
sent in this call and call the endpoint again:
Continue until you receive an empty JSON as a response.
Important:
Escape the JSON strings in your query parameters.