-
Notifications
You must be signed in to change notification settings - Fork 4
Products GetPickups
Brad Ploeger edited this page Apr 3, 2019
·
1 revision
Services \ Products \ GetPickups
Gets a list of pickup locations configured for this product.
$rezdyApi->products->searchMarketplace($productCode, $request);
- string: $productCode
- Rezdy\Requests\SimpleSearch: $request
use Rezdy\RezdyAPI;
use Rezdy\Requests\SimpleSearch;
// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');
$productCode = 'P12345';
$searchParams = [
'limit' => 100,
'offset' => 0 ];
// Create the SimpleSearch request
$search = new SimpleSearch($searchParams);
// Send the request to the API
$response = $rezdyAPI->products->getPickups($productCode, $search);
// View the response
echo $response;
Rezdy API V1 PHP Wrapper