如何使用亚马逊MWS Reports API操作GetReport获取XML响应而不是字符串?

时间:2015-06-01 11:19:36

标签: php amazon-mws

我从亚马逊MWS报告API操作GetReport获得字符串响应。 我只想用XML获得响应。有办法吗?

1 个答案:

答案 0 :(得分:1)

您可以配置您的亚马逊卖家帐户以生成XML格式的报告,如本片段中所述    http://amazonpayments.s3.amazonaws.com/documents/Managing_Orders_with_MWS_APIs_en_US.pdf

2.3.2 Report Formats
Whether a seller receives reports in XML or flat-file format is 
determined by the seller account
configuration. The report type can be set in Seller Central > Settings 
> Checkout Pipeline Settigns >
Order Reports.

希望这有帮助。