Closed RRStoyanov closed 7 years ago
Hello @RRStoyanov , Thanks for submitting the pull request. However, since not all the api endpoints have /search.json, I would limit this to specific endpoints, such as 'customer'. If you can make that change, I will review it and approve this pull request.
Thanks!:)
Not needed. There is other possibility
$shopify->getCustomersAll('search', ['query' => 'email:foo', 'limit' => 250]);
Keep in mind, that
$shopify->getCustomersAll('search', ['query' => 'email: foo', 'limit' => 250]);
will not reutrn results (notice the space after email: )
Thanks @BNMetrics for contacting me and taking care of the package!
$searchResults = $shopify->getCustomersSearch([ 'query' => 'email: foo@example.com', 'limit' => 250, ]);