现在我正在测试 Shopify graphql 以通过电子邮件获取客户。 但 Shopify 客户查询无法正常工作。查询如下。
{
customers(first: 10, query:"email:'test@gmail.com'") {
edges {
node {
id
lastName
verifiedEmail
firstName
lastName
email
phone
tags
}
}
}
}
但结果如下。
{
"data": {
"customers": {
"edges": []
}
},
"extensions": {
"cost": {
"requestedQueryCost": 252,
"actualQueryCost": 2,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 998,
"restoreRate": 50
}
}
}
}
Shopify 商店有那个客户。但是查询没有找到客户。 我相信我们可以解决这个问题。 如果你有经验,请帮助我。 谢谢。