Skip to content

Rates Get

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

Services \ Rates \ Get

Purpose

Retrieves a rate based on its ID

Basic Usage:

$rezdyApi->rates->get($rateId);

Required Parameters

  • integer: $rateId

Optional Parameters

  • none

Returns

Throws

Code Example

use Rezdy\RezdyAPI;

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

$rateId = 12345;

// Send the request to the API
$response = $rezdyAPI->rates->get($rateId);

// View the response
echo $response;

Clone this wiki locally