Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?PHP
/**
 * example that adds information to the item description
 *
 * $Id: example_AddToItemDescription.php,v 1.2 2004/11/07 12:48:52 schst Exp $
 *
 * @package     Services_Ebay
 * @subpackage  Examples
 * @author      Stephan Schmidt
 */
error_reporting(E_ALL);
require_once '../Ebay.php';
require_once 'config.php';

$session = Services_Ebay::getSession($devId, $appId, $certId);
$session->setToken($token);
$ebay = new Services_Ebay($session);

$item   = $ebay->GetItem(4501333179);
$result = $item->AddToDescription('He rarely ever used it.');

if ($result === true) {
    echo 'Sucessfully added to item description';
} else {
    echo 'Could not add to item description';
}
?>