service/LicenseeService.php
public static function transfer(Context $context, $number, $sourceLicenseeNumber)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);
        CheckUtils::paramNotEmpty($sourceLicenseeNumber, Constants::LICENSEE_SOURCE_LICENSEE_NUMBER);

        $queryParams[Constants::LICENSEE_SOURCE_LICENSEE_NUMBER] = $sourceLicenseeNumber;

        NetLicensingService::getInstance()
            ->post($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number . '/' . Constants::LICENSEE_ENDPOINT_PATH_TRANSFER, $queryParams);
    }
public static function transfer(Context $context, $number, $sourceLicenseeNumber)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);
        CheckUtils::paramNotEmpty($sourceLicenseeNumber, Constants::LICENSEE_SOURCE_LICENSEE_NUMBER);

        $queryParams[Constants::LICENSEE_SOURCE_LICENSEE_NUMBER] = $sourceLicenseeNumber;

        NetLicensingService::getInstance()
            ->post($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number . '/' . Constants::LICENSEE_ENDPOINT_PATH_TRANSFER, $queryParams);
    }
Transfer licenses between licensees.
https://www.labs64.de/confluence/display/NLICPUB/Licensee+Services#LicenseeServices-Transferlicensee

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

the number of the licensee receiving licenses
@param $number

the number of the licensee delivering licenses
@param $sourceLicenseeNumber

@return void
@throws MalformedArgumentsException
@throws \ErrorException
@throws RestException