Skip to content

Commit 279d521

Browse files
authored
Update Customer.php
Customer search takes (a very useful) query string parameter: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#search-2020-07
1 parent a233b8d commit 279d521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Customer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* --------------------------------------------------------------------------
2323
* Customer -> Custom actions
2424
* --------------------------------------------------------------------------
25-
* @method array search() Search for customers matching supplied query
25+
* @method array search(string $query = '') Search for customers matching supplied query
2626
*/
2727
class Customer extends ShopifyResource
2828
{
@@ -60,4 +60,4 @@ public function send_invite($customer_invite = array())
6060

6161
return $this->post($dataArray, $url, false);
6262
}
63-
}
63+
}

0 commit comments

Comments
 (0)