-
Notifications
You must be signed in to change notification settings - Fork 4
Categories List
Brad Ploeger edited this page Apr 3, 2019
·
3 revisions
Services \ Categories \ List
Load all products within a category.
$rezdyApi->categories->list($categoryId, $optionalSettings);- integer: $categoryId
- array: $optionalSettings
use Rezdy\RezdyAPI;
// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');
// The Category Id to search
$categoryId = 123456;
// Set search options
$options = [ 'limit' => 25 ];
// Send the request to the API
$response = $rezdyAPI->categories->list($categoryId, $options);
// View the Response
echo $response;Rezdy API V1 PHP Wrapper