Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Api Return Results? Rate Topic   - - - - -

 
  • luckdragon
  • Senior Member
  • Members
  • Join Date: 14-Oct 08
  • 261 posts

Posted 22 April 2015 - 11:29 AM #1

I'm curious about something, according to the documentation:
yet when I do myurl.com/api/categories/324/products I only get 10 results even though there are 112 products in that category.. am I missing something?
We could all learn a lot from crayons, some are sharp, some are pretty, some are dull, some have weird names (like chartreuse), and all are different colors....BUT they ALL exist very nicely in the same box!
-------------------------------------------------------
CS-Cart v.1.3.5-SP4

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21796 posts

Posted 22 April 2015 - 11:39 AM #2

Please try the following URL:

http://myurl.com/api/categories/324/products?items_per_page=150

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • luckdragon
  • Senior Member
  • Members
  • Join Date: 14-Oct 08
  • 261 posts

Posted 22 April 2015 - 11:44 AM #3

that worked, thank you, ironically, items_per_page is not a listed parameter in the documentation.
We could all learn a lot from crayons, some are sharp, some are pretty, some are dull, some have weird names (like chartreuse), and all are different colors....BUT they ALL exist very nicely in the same box!
-------------------------------------------------------
CS-Cart v.1.3.5-SP4