christocracy / shopify-api-limits

A simple Gem for reading shopify API call limits
17 stars 15 forks source link

Customer Records Limits #2

Open bgetting opened 13 years ago

bgetting commented 13 years ago

This is more of a question than an actual issue with the gem. The gem is awesome. I'm curious about the 250 record limit that is mentioned in the documentation.

I've noticed that if I do the following:

p = ShopifyAPI::Product.all(:params => {:limit => false})

It works great. Same with orders, and other things that the Shopify API documentation says that there is a limit on. However, the following generates an error:

c = ShopifyAPI::Customer.all(:params => {:limit => false})

I'm curious if the customer resource actually has a limit. It seems like if you were asking for all of your customers, it would return all of them, not just 250. The Shopify API documentation doesn't mention anything about limiting requests to 250 customers.

I am curious if anyone knows for sure if there are limits on the customers resource (or for that matter, when grabbing all the customers of a customer group as well)?

Thanks for any input...