-
Notifications
You must be signed in to change notification settings - Fork 4
Categories AddProduct
Brad Ploeger edited this page Apr 3, 2019
·
2 revisions
Services \ Categories \ AddProduct
Adds a product to an existing category.
$rezdyApi->categories->addProduct($categoryId, $productCode);- integer: $categoryId
- string: $productCode
- none
use Rezdy\RezdyAPI;
// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');
$categoryId = 123456;
$productCode = 'P12345';
// Send the request to the API
$response = $rezdyAPI->categories->addProduct($categoryId, $productCode);
// View the Response
echo $response;Rezdy API V1 PHP Wrapper