我正在阅读一些有关 eBay API 的信息,但我找不到任何关于获取我正在销售的所有“打开和完成的文章”的列表。
是在购买 API 中还是在交易中?有人可以帮我看看在哪里看吗?还是几行代码?
我登录了
$request = "<?xml version='1.0' encoding='iso-8859-1'?><request>"
. "<RequestUserId>" . $EBAY_UID . "</RequestUserId>"
. "<RequestPassword>" . $EBAY_PWD . "</RequestPassword>"
. "<ErrorLevel>0</ErrorLevel>"
. "<DetailLevel>0</DetailLevel>"
. "<SiteId>0</SiteId>"
. "<Verb>GeteBayOfficialTime</Verb></request>";
$headers[] = "X-EBAY-API-COMPATIBILITY-LEVEL: 305";
$headers[] = "X-EBAY-API-SESSION-CERTIFICATE: ".DEVID.";".APPID.";".CERTID;
$headers[] = "X-EBAY-API-DEV-NAME: ".DEVID;
$headers[] = "X-EBAY-API-APP-NAME: ".APPID;
$headers[] = "X-EBAY-API-CERT-NAME: ".CERTID;
$headers[] = "X-EBAY-API-CALL-NAME: GeteBayOfficialTime";
$headers[] = "X-EBAY-API-SITEID: 0";
$headers[] = "X-EBAY-API-DETAIL-LEVEL: 0";
$headers[] = "Content-Type: text/xml";
$headers[] = "Content-Length: " . strlen($request);
var_dump($header);
$curl = curl_init("https://api.sandbox.ebay.com/ws/api.dll");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
$result = curl_exec($curl);
要获得 eBay 时间,但现在我想获得一个详细信息列表,例如我的产品 x 在 xx 支付,我在 xx 收到了钱,价格是 xx,得到文章的人被称为......