看起來這個問題已經在這裏和網絡上的其他地方被問過了,但我還沒有找到任何可靠的文件。有沒有人成功地使用PHP從亞馬遜賣家中心下載訂單?
我們需要一種定期從Amazon Seller Central中「吸」訂單的方式,並將數據插入我們服務器上的數據庫進行處理。有人暗示你可以創建一個這樣做的nuSOAP客戶端,但是亞馬遜的文檔很弱,根本不存在。
有沒有人真的有這個工作?有沒有我可能忽略的好資源?
感謝,
尼克
*最新(09年9月1日)*
亞馬遜把我的報告爲XML格式,但仍不能正常工作。
我得到的迴應:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SE="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:ArrayOfMerchantDocumentInfo_Response xsi:type="ns0:ArrayOfMerchantDocumentInfo" xmlns:ns0="http://www.amazon.com/merchants/merchant-interface/" xmlns:ns1="http://systinet.com/xsd/SchemaTypes/"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
這應該是可用的文件(訂單)的列表。但它看起來像一堆沒有給我的東西!我無法相信沒有人知道如何做到這一點。亞馬遜有一些相當大的公司在那裏銷售,我很難相信他們都是手工發票!
*更新*
我發現用PHP編寫的,here樣本。不幸的是,它不起作用。它(毫不誇張地說)什麼都不做。
我發送了一封電子郵件給他們的支持部門,並得到一個單行RTM指向這個less than thorough documentation。
我仍然試着讓這個工作,我會回來更新 - 但如果我們不能很快得到這個,我們將不得不放棄亞馬遜。我們已經太大以至於無法手動處理訂單,顯然他們不關心幫助他們的客戶。
*亞馬遜的文檔說:*
Although Amazon.com developed this initial version, we have no intent to support, maintain, or otherwise revise it in the future. Our hope is that someone in the Open Source community will step forward as the package maintainer, and later release new versions pursuant to the applicable licensing requirements.
感謝,亞馬遜,對於如此有用。
很高興爲您服務,但您應該將此答案標記爲已接受,因此問題不再在未答覆的列表中彈出 – 2009-11-27 20:21:00