Jump to content

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

Cs-Cart Api: /products/:code Rate Topic   - - - - -

 
  • larrezz91
  • Advanced Member
  • Trial users
  • Join Date: 23-Oct 14
  • 50 posts

Posted 01 July 2016 - 01:35 PM #1

Hello,

 

Please consider implementing a /products/:code endpoint besides /products/:id in the CS-cart API. 

 

We use multiple systems. In all systems, the product code is leading; not the CS-Cart id. Thus, if we want to make API requests from external systems, we have to look up to corresponding CS-Cart product ID first (through /api.php?_d=products&product_code=Y&q=[PRODUCT_CODE]), and then make a request to /product/[PRODUCT_ID]. As you can imagine, this slows things down tremendously.

 

Please leave a comment if you agree or if you know a better solution.

 

Thanks