php 如何以编程方式获取亚马逊卖家中心订单?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1785986/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get Amazon Seller Central orders programmatically?
提问by Echo says Reinstate Monica
We have been manually been keying Amazon orders into our system and would like to automate it. However, I can't seem to figure out how to go about it. Their documentation is barely there.
我们一直在手动将亚马逊订单输入我们的系统,并希望将其自动化。但是,我似乎无法弄清楚如何去做。他们的文档几乎不存在。
There is:
有:
- Amazon Inventory Management (AIM) API: That is supposed to manage orders and inventory
- Event Notification Service (ENS) API: Get order notifications
- Seller Central SOAP API: Upload inventory and manage orders
- Amazon Marketplace Web Service (Amazon MWS): Manage inventory and orders
- 亚马逊库存管理 (AIM) API:用于管理订单和库存
- 事件通知服务 (ENS) API:获取订单通知
- 卖家中心 SOAP API:上传库存和管理订单
- 亚马逊商城网络服务 (Amazon MWS):管理库存和订单
So, um, which do I use? Using REST instead of SOAP is very much preferred. Can anyone point me out some better documentation/examples?
那么,嗯,我用哪个?使用 REST 而不是 SOAP 是非常受欢迎的。谁能指出一些更好的文档/示例?
采纳答案by Jason
I think Amazon's API is a confusing mess to deal with. I just wrote a simple tool to extract data from my Amazon wishlist and it was far harder than it should have been.
我认为亚马逊的 API 处理起来很混乱。我刚刚编写了一个简单的工具来从我的亚马逊愿望清单中提取数据,但它比本来应该的要困难得多。
I would guess that you want to use the Marketplace service, but I could be wrong. If you're dealing with PHP, there is a PHP API that you might find helpful - Tarzan (link disabled - this package is apparently no longer available)
我猜您想使用 Marketplace 服务,但我可能错了。如果您正在处理 PHP,那么您可能会发现有一个 PHP API 有帮助 - Tarzan(链接已禁用 - 此软件包显然不再可用)
Here is a Amazon forum for that should help: http://www.amazonsellercommunity.com/forums/forum.jspa?forumID=32, and a PDFoverview
这是一个亚马逊论坛,应该会有所帮助:http: //www.amazonsellercommunity.com/forums/forum.jspa? forumID=32和PDF概述
回答by fmr
AIM and SOAP are historical APIs. The best choice is MWS, which supports all features of AIM and SOAP (i.e. all listing activity, inventory reports, order reports, order acknowledgement and cancellations, refunds, settlement reports). MWS is also well documented at mws.amazon.com, and example client libraries are provided for Java, C# and PHP. For feed and report formats, you should refer to Seller Central Help pages for all formats (unless you are a Marketplace seller, in which case the help pages are accessible from your seller account page).
AIM 和 SOAP 是历史悠久的 API。最好的选择是 MWS,它支持 AIM 和 SOAP 的所有功能(即所有上市活动、库存报告、订单报告、订单确认和取消、退款、结算报告)。MWS 在 mws.amazon.com 上也有详细记录,并且为 Java、C# 和 PHP 提供了示例客户端库。对于 Feed 和报告格式,您应该参考所有格式的卖家中心帮助页面(除非您是 Marketplace 卖家,在这种情况下,可以从您的卖家帐户页面访问帮助页面)。
You may also want to peruse www.amazonservices.com
您可能还想仔细阅读 www.amazonservices.com
Finally, here's a link to the SOA-GuideToXML.pdf document, which describes the details of the XML feeds and reports, as well as the overall workflow:
最后,这里是 SOA-GuideToXML.pdf 文档的链接,该文档描述了 XML 提要和报告的详细信息,以及整个工作流程:
http://g-ecx.images-amazon.com/images/G/01/rainier/help/tutorials/SOA-GuideToXML.pdf
http://g-ecx.images-amazon.com/images/G/01/rainier/help/tutorials/SOA-GuideToXML.pdf
回答by Arty Alter
If you (obviously not reffering to YOU) don't feel comfortable with web services and API calling (communication). You can download a flat file from Sellercentarl.amazon with your order information, and use an import method to enter the whole file at once, without retyping any info. Obviously the exact pricess would depend on What system you are trying to enter these orders into. Good Luck!
如果您(显然不是指您)对 Web 服务和 API 调用(通信)不满意。您可以从 Sellercentarl.amazon 下载带有订单信息的平面文件,然后使用导入方法一次性输入整个文件,无需重新输入任何信息。显然,确切的价格将取决于您尝试将这些订单输入到哪个系统。祝你好运!

