getReports

Returns detailed pdf reports that match your filter criteria.

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. The preceding table indicates the default rate and burst values for this operation. For questions about your usage plan, reach out to your Amazon Business technical contact.

📘

To test this API, populate each required input field with the pre-defined example values.

Query Params
reportTypes
array of strings
length between 1 and 10

A list of report types used to filter reports. 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 processing hasn't started. The system may be waiting for another report to complete.
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 as a response to the 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

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json