API getting product by product_code

I’m trying to get a product by productcode with get metod by
/api/products?code=CZ225
or from specific vendor (Multivendor) by
/api/vendors/3/products?code=CZ225
The request returns products without filtering (all products are presented)
Any ideas? Requests like /api/products?page=2 work without problems.

Hi!

In order to filter by a product code, you need to pass its value in the pcode parameter:
https://docs.cs-cart.com/latest/developer_guide/api/entities/products.html#pagination-sorting-and-filtering

Thank you. It wasn’t clear from the manual at first but finally I found out. I have now one more difficult but I put it to different theme.