MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
945 stars 278 forks source link

shopify.customer.search return empty array #515

Closed sagarfitcircle closed 1 year ago

sagarfitcircle commented 2 years ago

I am using V3.6.12, I have scenario where I try to search customer by phone. Even though the customer exists in the shop it returns empty array.

Request: shopify.customer.search({ query: })

Response: { "customers": [] }

I tried same request using curl and it returns the customer just fine.

Am I missing anything here?

lpinca commented 2 years ago

I don't know. Try to find the difference between the request made by shopify-api-node and curl. You can use a proxy like Fiddler to do that.

lpinca commented 1 year ago

I'm closing this due to inactivity.