Going over the API limit in Shopify? -


i need maximum of 250 products 1 api call. how can archive this? unfortunately have no experience in ruby. maybe can wise me direction.

thank you,

you cannot increase limit beyond 250 per page. nevertheless use page parameter next 250 products. i'm not aware of ruby logical flow:

  1. get url = /admin/products.json?limit=250&page={{p}}
  2. assign value of p 1
  3. start calling api. each successful return increase value of p
  4. check if returns less 250 items. if yes, continue next step, else go step 3
  5. exit

Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -