Shopify-api-node
Shopify-api-node copied to clipboard
shopify.customer.search return empty array
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: <phone_number> })
Response: { "customers": [] }
I tried same request using curl and it returns the customer just fine.
Am I missing anything here?
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.
I'm closing this due to inactivity.