API – Get All Customers from Magento Using REST API

apirestwsdlxmlrpc

I am trying to get all customers from Magento, but it giving me only first 10 records, i have searched a lot but did not see any post of comment which can solve my problem.

API user has admin rights and able to fetch results using Rest API.

if i have activated application for rest API then can i use wsdl as well or xml rpc please suggest.

Best Answer

I found the solution on this link. and here is the explanation on it.

You can define the limit of items returned in the response by passing the limit parameter. By default, 10 items are returned and the maximum number is 100 items. You can also define the page number by passing the page parameter. Example:

http://magentohost/api/rest/products?page=2&limit=20

Related Topic