我正在使用 magento OAuth 来获取客户信息。现在我可以通过“customerId”获取客户列表和客户信息。 Reference link
我可以通过电子邮件 ID 获取客户信息吗?
最佳答案
我想我刚刚明白了......
GET /api/rest/customers/?filter[0][attribute]=email&filter[0][in][0]<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="80bdedf9aee5ede1e9ecc0e1e4e4f2e5f3f3aee4e5" rel="noreferrer noopener nofollow">[email protected]</a> HTTP/1.1
这会使用提交的电子邮件地址过滤我的客户。有关 GET 请求过滤的更多信息,您可以在此处找到: http://www.magentocommerce.com/api/rest/get_filters.html
关于php - Magento Rest api 通过电子邮件 ID 获取客户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27753268/