Closed chintankotadia closed 5 years ago
@slince : I did but same problem. :)
hello, this will be fixed in furture version
@chintankotadia
In the search method there is only query
parameter, you need to pass a string to it.
Try this:
$customers = $client->getCustomerManager()->search([
'query' => 'email:address@example.com'
]);
@maximzasorin : Thanks, it did work!
Not working for me.
Hello,
Search operation for customer with query parameters always returns all the customers without any filtering.
Following is the example:-
$customer = $client->getCustomerManager()->search(['email:email@example.com']);
Am I missing anything in this one? This is forum post which I am following https://community.shopify.com/c/Shopify-APIs-SDKs/Find-a-Customer-by-Email-via-API-Call/td-p/141661
Thank you!