Update product group
Request parameters
Response sample
bool(true)Request sample
<?php
require ('PATH_TO_AUTH');
$ProductGroup = new stdClass();
$ProductGroup->Name = 'New Product Group from API';
$ProductGroup->Code = 'DBA13A4268';
$ProductGroup->TemplateName = 'Default Template'; // the name of the cart template you want to associate with the product group
$ProductGroup->Description = 'This is a generic description';
$ProductGroup->Enabled = false;
try {
$UpdatedProductGroup = $client->updateProductGroup($sessionID, $ProductGroup);
}
catch (SoapFault $e) {
echo "UpdatedProductGroup: " . $e->getMessage();
exit;
}
var_dump("UpdatedProductGroup", $UpdatedProductGroup);
?>Last updated
Was this helpful?