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.
Returns a count of the reports, created in the previous 90 days, with a status of _DONE_ and that are available for download.
The GetReportCount operation returns a count of the reports, created in the previous 90 days, that are available for download.
This operation is available in all marketplaces.
Maximum request quota | Restore rate | Hourly request quota |
---|---|---|
10 requests | One request every 45 seconds | 80 requests per hour |
For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.
Name | Description | Required | Values |
---|---|---|---|
ReportTypeList | A structured list of ReportType enumeration values. | No | Default: All Type: xs:string |
Acknowledged | A Boolean value that indicates if an order report has been acknowledged by a prior call to UpdateReportAcknowledgements. Set to true to list order reports that have been acknowledged; set to false to list order reports that have not been acknowledged. This filter is valid only with order reports; it does not work with listing reports. | No | Default: All Type: xs:boolean |
AvailableFromDate | The earliest date you are looking for, in ISO 8601 date time format. | No | Default: 90 days ago Type: xs:dateTime |
AvailableToDate | The most recent date you are looking for, in ISO 8601 date time format. | No | Default: Now Type: xs:dateTime |
For information about standard request requirements, see Required request parameters.
POST /Reports/2009-01-01 HTTP/1.1 Content-Type: x-www-form-urlencoded Host: mws.amazonservices.com User-Agent: <Your User Agent Header> AWSAccessKeyId=0PB842EXAMPLE7N4ZTR2 &Action=GetReportCount &MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE &Marketplace=ATVPDKIKX0DER &ReportTypeList.Type.1=_GET_ORDERS_DATA_ &SellerId=A1XEXAMPLE5E6 &SignatureMethod=HmacSHA256 &SignatureVersion=2 &Timestamp=2009-02-04T18%3A12%3A20.296Z &Version=2009-01-01 &Signature=AV6JVsC3JvgEXAMPLERL685cP64%3D
For information about standard response formatting, see Response format.
<?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>