When retrieving large datasets from the Kariz API, results are automatically paginated to optimize performance and response times. Pagination allows you to retrieve data in manageable chunks while providing a clear way to access subsequent records.Documentation Index
Fetch the complete documentation index at: https://docs.runkariz.com/llms.txt
Use this file to discover all available pages before exploring further.
How Pagination Works
Kariz uses token-based pagination that’s consistent across all supported e-commerce channels. When a response contains more data than can be returned in a single request, Kariz will:- Return a subset of the total results (default is 10 items per page)
- Include a `next_page_token` in the response to indicate more data is available
- Provide a `next_page_token_url` that can be used directly for the next request
Using the Next Page Token
A response that doesn’t include a `next_page_token` field indicates you’ve reached the last page of results or the entire dataset was small enough to be returned in a single response.
Example Pagination Flow
Response Structure
A paginated response will contain the following pagination-related fields:Controlling Page Size
You can adjust the number of results per page by using the `limit` parameter in your request:The maximum limit value is 100 items per page. Some channels may limit responses to 50 items per page, in which case, we follow their limit. If you specify a higher value, it will be capped at 100.