service/LicenseeService.php
public static function update(Context $context, $number, Licensee $licensee)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);

        $response = NetLicensingService::getInstance()
            ->post($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number, $licensee->asPropertiesMap());

        $updatedLicensee = null;

        if (!empty($response->items->item[0])) {
            $updatedLicensee = ItemToLicenseeConverter::convert($response->items->item[0]);
            $updatedLicensee->exists = true;
        }

        return $updatedLicensee;
    }
public static function update(Context $context, $number, Licensee $licensee)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);

        $response = NetLicensingService::getInstance()
            ->post($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number, $licensee->asPropertiesMap());

        $updatedLicensee = null;

        if (!empty($response->items->item[0])) {
            $updatedLicensee = ItemToLicenseeConverter::convert($response->items->item[0]);
            $updatedLicensee->exists = true;
        }

        return $updatedLicensee;
    }
Updates licensee properties.See NetLicensingAPI for details:
https://www.labs64.de/confluence/display/NLICPUB/Licensee+Services#LicenseeServices-Updatelicensee

determines the vendor on whose behalf the call is performed
@param Context $context

licensee number
@param $number

non-null properties will be updated to the provided values, null properties will stay unchanged.
@param Licensee $licensee

return updated licensee.
@return Licensee|null
@throws MalformedArgumentsException
@throws \ErrorException
@throws RestException