Amazon Services China
亚马逊商城网络服务(亚马逊 MWS)文档

Deprecation Notice:

Amazon Marketplace Web Service (MWS) will no longer be available after March 31, 2024. All MWS developers must migrate to Selling Partner API (SP-API) to avoid service disruptions. Refer to the Migration Hub for more information.

亚马逊 MWS 文档

GetReport

返回报告内容及所返回报告正文的 Content-MD5 标头。

描述

GetReport 操作返回报告的内容及所返回报告正文的 Content-MD5 标头。报告从生成之日起保留 90 天。

您应计算 HTTP 正文的 MD5 哈希值,并将该值与所返回的 Content-MD5 标头值进行比较。如果二者不一致,则表明正文在传送过程中已损坏。如果报告已损坏,您应当放弃此结果,并自动重试请求,但最多不可超过三次。请告知亚马逊MWS 您所接收的报告正文是否已损坏。亚马逊MWS 网站上“报告 API”部分的客户端库中包含处理和比较 Content-MD5 标头的相关代码。有关使用 Content-MD5 标头的更多信息,请参阅亚马逊MWS开发者指南

GetReport 操作的最大请求限额为 15 个,恢复速率为每分钟 1 个请求。有关限制术语的定义,请参阅限制

请求参数

名称 描述 必填项 有效值
ReportId 待下载报告的唯一编码,通过 GetReportList 操作或 ReportRequest 的 GeneratedReportId 而获取。

类型:xs:nonNegativeInteger

默认值:无

响应元素

名称 描述
Report 报告文档的内容。

类型:xs:string

示例

查询请求示例

http://mws.amazonservices.com/
  ?AWSAccessKeyId=0PB842EXAMPLE7N4ZTR2
  &Action=GetReport
  &MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
  &Marketplace=ATVPDKIKX0DER
  &SellerId=A1XEXAMPLE5E6
  &ReportId=624169093
  &Signature=sY%2BEJFLA1gmz78dEOofUcBWSM44%3D
  &SignatureVersion=2
  &SignatureMethod=HmacSHA256
  &Timestamp=2009-02-04T18%3A12%3A20.015Z
  &Version=2009-01-01            
           

响应示例

   order-id order-item-id purchase-date payments-date buyer-email 
   buyer-name buyer-phone-number sku product-name quantity-purchased 
   currency item-price item-tax shipping-price shipping-tax 
   ship-service-level recipient-name ship-address-1 ship-address-2 
   ship-address-3 ship-city ship-state ship-postal-code ship-country
   ship-phone-number delivery-start-date delivery-end-date 
   delivery-time-zone delivery-Instructions
103-26010-55904 394929210114 2011-02-09T02:46:57-08:00
2011-02-09T02:46:57-08:00 0g9lx423zn5@marketplace.amazon.com 
Joe Customer 404-555-1212 JW-RT1-HLD9 The Structure of Aikido: 
Volume 1: Kenjutsu and Taijutsu Sword and Open-Hand Movement 
Relationships (Structure of Aikido, Vol 1) 1 USD 19.49 0.00 3.99 
0.00 Standard Joe Customer 123 Main Street LAWRENCE CA 90044-2463 
US 404-555-1212