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 文档

GetReportCount

返回在过去 90 天内创建、状态为 _DONE_ 且可供下载的报告计数。

描述

GetReportCount 操作返回在过去 90 天内创建且可供下载的报告计数。

GetReportCount 操作的最大请求限额为 10 个,恢复速率为每 45 秒 1 个请求。有关限制术语的定义,请参阅限制

请求参数

名称 描述 必填项 有效值
ReportTypeList ReportType 枚举值的结构化列表。

类型:xs:string

默认值:全部
Acknowledged 布尔值,用来指明在之前调用 UpdateReportAcknowledgements 时是否已确认订单报告。所发布订单报告如已经确认,则设置为 true;所发布订单报告如未经确认,则设置为 false。此过滤器仅对订单报告有效;不支持商品报告。

类型:xs:boolean

默认值:全部
AvailableFromDate 您可进行查找的最早日期,格式为 ISO8601。

类型:xs:dateTime

默认值:90 天前
AvailableToDate 您可进行查找的最近日期,格式为 ISO8601。

类型:xs:dateTime

默认值:现在

响应元素

名称 描述
Count 非负整数,表明可供下载的报告总数。

类型:tns: nonNegativeInteger

示例

查询请求示例

https://mws.amazonservices.com/
  ?AWSAccessKeyId=0PB842EXAMPLE7N4ZTR2
  &Action=GetReportCount
  &ReportTypeList.Type.1=_GET_ORDERS_DATA_
  &MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
  &Marketplace=ATVPDKIKX0DER
  &SellerId=A1XEXAMPLE5E6
  &Signature=AV6JVsC3JvgEXAMPLERL685cP64%3D
  &SignatureVersion=2
  &SignatureMethod=HmacSHA256
  &Timestamp=2009-02-04T18%3A12%3A20.296Z
  &Version=2009-01-01            
           

响应示例

<?xml version="1.0"?>
<GetReportCountResponse xmlns="http://mws.amazonservices.com/doc/2009-01-01/">
  <GetReportCountResult>
    <Count>166</Count>
  </GetReportCountResult>
  <ResponseMetadata>
    <RequestId>a497aadb-5ea1-49bf-aa14-dabe914465e3</RequestId>
  </ResponseMetadata>
</GetReportCountResponse>