【问题标题】:Magento rest api get customer by email idMagento rest api通过电子邮件ID获取客户
【发布时间】:2015-03-01 10:34:35
【问题描述】:

我正在使用 magento OAuth 来获取客户信息。现在我可以通过“customerId”获取客户列表和客户信息。 Reference link

我可以通过电子邮件 ID 获取客户信息吗?

【问题讨论】:

    标签: php rest magento oauth magento-1.7


    【解决方案1】:

    我想我只是想通了......

    GET /api/rest/customers/?filter[0][attribute]=email&filter[0][in][0]=my.email@address.de HTTP/1.1
    

    这会使用提交的电子邮件地址过滤我的客户。您可以在此处找到有关 GET-Request 过滤的更多信息: http://www.magentocommerce.com/api/rest/get_filters.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-02
      • 1970-01-01
      • 2014-05-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-29
      • 1970-01-01
      相关资源
      最近更新 更多