-
Notifications
You must be signed in to change notification settings - Fork 4
Customers Search
Brad Ploeger edited this page Apr 3, 2019
·
1 revision
Search customers in the account
$rezdyApi->customers->search($request);- Rezdy\Requests\SimpleSearch: $request
- none
use Rezdy\RezdyAPI;
use Rezdy\Requests\SimpleSearch;
// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');
$searchParams = [
'search' => 'Smith' ];
// Create a SimpleSearch request
$search = new Customer($searchParams);
// Send the Customer request to the API
$response = $rezdyAPI->customers->search($search);
// View the response
echo $response;Rezdy API V1 PHP Wrapper