Skip to content

Vouchers Search

Brad Ploeger edited this page Apr 3, 2019 · 1 revision

Services \ Vouchers \ Search

Purpose

Search vouchers in your account

Basic Usage:

$rezdyApi->vouchers->search($request);

Required Parameters

  • none

Optional Parameters

Returns

Throws

Code Example

use Rezdy\RezdyAPI;

// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');

$searchParams = [
   'search' => '123',
   'limit' => 25,
   'offset' => 0,

$search = new SimpleSearch($searchParams);

// Send the request to the API
$response = $rezdyApi->vouchers->search($search);

// View the response
echo $response;

Clone this wiki locally