Magento1.9 Rest Api过滤器

时间:2019-09-02 07:56:47

标签: rest magento magento-1.9

如何通过Magento1中的 updated_at 属性获取可过滤的REST API数据?

我希望我的其余API数据被上次updated_at过滤,因此我尝试了以下操作: http://localhost/mage1/products?page=1&limit=5&filter[0][attribute]=updated_at&filter[0][gteq]=2019-09-01 07:40:30

我尝试了在devdocs上显示的M1过滤器,但未成功获得任何适当的结果。 https://prnt.sc/p0lrk9

1 个答案:

答案 0 :(得分:0)

https://localhost/api/rest/products?filter[0][attribute]=updated_at&filter[0][from][0]=max_date&page=1&limit=100&order=updated_at&dir=asc"

这可能会对您有所帮助。它对我有用