Magento – Magento 2 (Rest api): Get all products based on update_at criteria

magento2rest api

How to get the products from magento 2 using REST API based on the updated_at criteria, so I can able to get products created/updated on particular date. how to achieve this task. please help me.

Thanks in advance…

Best Answer

Try this

GET /V1/products?&searchCriteria[filter_groups][0][filters][0][field]=updated_at&searchCriteria[filter_groups][0][filters][0][value]=2018-09-07&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq

This endpoint will give you all products that being updated after 2018-09-07 it is working for me, I hope it will help you

Related Topic