1

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.

2
  • Please post your code so that we can see what/how you are trying to do.
    – MagePsycho
    Feb 16, 2015 at 7:04
  • i am following this link gmartinezgil.wordpress.com/2013/08/05/… and able to get the auth_token with key. but when i tried to get all customers by providing all parameters it is giving me only 10 customers.
    – UmeshR
    Feb 16, 2015 at 7:45

1 Answer 1

0

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

1
  • how to get product with filter status=1 and visibility=4.? Mar 17, 2015 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.