Is it possible to get all products with pagination using REST API in Magento 2?
I'm using REST API Get all product with pagination. E.g. in first page show 20 products, second page 20 products, etc...
Is it possible to get all products with pagination using REST API in Magento 2?
I'm using REST API Get all product with pagination. E.g. in first page show 20 products, second page 20 products, etc...
Use the following search criteria:
/rest/all/V1/products?searchCriteria[currentPage]=1&searchCriteria[pageSize]=20
Increase the currentPage until you get to the last page.
More details here: Search using REST endpoints