Pagination
All endpoints that return a list are paginated by:
- page: the page number
- per_page: the number of items returned per page
The current default value for page is the first (1) page, and for per_page, the default is 20 items per page. This is reflected in each method's documentation:
For performance reasons, we limit items per page to a max of 100 items per page.
To set these values, pass them as query parameters in your request. For example, in a list vendors GET
request, to return the first page at 50 items per page:
cURL
curl --request GET 'https://api.vendorvue.app/v1/vendors?page=1&per_page=50' \
--header 'Authorization: Bearer <API_TOKEN_ID>:<API_TOKEN>'
--header 'accept: application/json'