0
得到客户找客户通过电子邮件woocommerce REST API通过电子邮件
https://localhost/biobays/wp-json/wc/v2/customers/2让客户通过ID工作。但是 https://localhost/biobays/wp-json/wc/v2/customers/email/[email protected]或https://localhost/biobays/wp-json/wc/v2/[email protected]不工作
我希望检索用户信息。
我有一个空的回应。
PS:这项工作的老V3大https://localhost/biobays/wc-api/v3/customers/email/[email protected]
你好瑞克,我会测试你的解决方案。如果我理解的很好,我的问题与编码%40而不是@有关。我会检查并给你反馈。 非常感谢! –
Hi Rick,https:// localhost/biobays/wp-json/wc/v2/customers?email = test%40t.com&consumer_key = YOUR_CONSUMER_KEY&consumer_secret = YOUR_CONSUMER_SECRET与curl一起工作得很好,但Alamofire没有任何返回。很奇怪 ... –