HomeDocumentationCode SamplesAPI ReferenceAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
API Reference
Developer HubAPI StatusSupport

getReports

Returns report details for the reports that match the filters that you specify.

Usage Plan:

Rate (requests per second)Burst
0.022210

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Query Params
reportTypes
array of strings
length between 1 and 10

A list of report types used to filter reports. Refer to Report Type Values for more information. When reportTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either reportTypes or nextToken is required.

reportTypes
processingStatuses
array of strings
length ≥ 1

A list of processing statuses used to filter reports.

Show Details
CANCELLEDThe report was cancelled. There are two ways a report can be cancelled: an explicit cancellation request before the report starts processing, or an automatic cancellation if there is no data to return.
DONEThe report has completed processing.
FATALThe report was aborted due to a fatal error.
IN_PROGRESSThe report is being processed.
IN_QUEUEThe report has not yet started processing. It may be waiting for another `IN_PROGRESS` report.
processingStatuses
marketplaceIds
array of strings
length between 1 and 10

A list of marketplace identifiers used to filter reports. The reports returned will match at least one of the marketplaces that you specify.

marketplaceIds
integer
1 to 100
Defaults to 10

The maximum number of reports to return in a single call.

date-time

The earliest report creation date and time for reports to include in the response, in ISO 8601 date time format. The default is 90 days ago. Reports are retained for a maximum of 90 days.

date-time

The latest report creation date and time for reports to include in the response, in ISO 8601 date time format. The default is now.

string

A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getReports operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.

Responses

Response body
object
reports
array of objects
required

A list of reports.

reports*
object
marketplaceIds
array of strings

A list of marketplace identifiers for the report.

marketplaceIds
string
required

The identifier for the report. This identifier is unique only in combination with a seller ID.

string
required

The report type. Refer to Report Type Values for more information.

date-time

The start of a date and time range used for selecting the data to report.

date-time

The end of a date and time range used for selecting the data to report.

string

The identifier of the report schedule that created this report (if any). This identifier is unique only in combination with a seller ID.

date-time
required

The date and time when the report was created.

string
required

The processing status of the report.

CANCELLED DONE FATAL IN_PROGRESS IN_QUEUE

Show Details
CANCELLEDThe report was cancelled. There are two ways a report can be cancelled: an explicit cancellation request before the report starts processing, or an automatic cancellation if there is no data to return.
DONEThe report has completed processing.
FATALThe report was aborted due to a fatal error.
IN_PROGRESSThe report is being processed.
IN_QUEUEThe report has not yet started processing. It may be waiting for another `IN_PROGRESS` report.
date-time

The date and time when the report processing started, in ISO 8601 date time format.

date-time

The date and time when the report processing completed, in ISO 8601 date time format.

string

The identifier for the report document. Pass this into the getReportDocument operation to get the information you will need to retrieve the report document's contents.

string

Returned when the number of results exceeds pageSize. To get the next page of results, call getReports with this token as the only parameter.

Headers
object
string

Your rate limit (requests per second) for this operation.

string

Unique request reference identifier.

Language