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.

asked Feb 16, 2015 at 5:57
2
  • Please post your code so that we can see what/how you are trying to do. Commented 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. Commented 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

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.