【问题标题】:Magento1.9 Rest Api filtersMagento1.9 Rest Api 过滤器
【发布时间】:2019-09-02 07:56:47
【问题描述】:

如何在 Magento1 中获取可通过 updated_at 属性过滤的 rest api 数据?

我希望通过 last updated_at 过滤我的其余 API 数据,所以我尝试了这样的方法:- http://localhost/mage1/products?page=1&limit=5&filter[0][attribute]=updated_at&filter[0][gteq]=2019-09-01 07:40:30

我已经尝试了 M1 的 devdocs 上显示的过滤器,但没有成功获得任何正确的结果。 https://prnt.sc/p0lrk9

【问题讨论】:

  • ...问题出在哪里?
  • 嗨,我已经更新了我的问题@Sfili_81

标签: rest magento magento-1.9


【解决方案1】:
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"

这可能对你有帮助。它对我有用

【讨论】:

  • 我怀疑这是否有帮助,甚至根本没有用。为了说服我,请详细解释它是如何工作的以及为什么它有助于解决问题。
猜你喜欢
  • 1970-01-01
  • 2018-01-28
  • 2022-01-26
  • 2018-05-08
  • 1970-01-01
  • 1970-01-01
  • 2019-01-06
  • 2019-07-08
相关资源
最近更新 更多