where do I find Report IDs
I need report IDs for API. Where do I find report IDs for the following reports. I am not looking for an order ID in an Oeder report but the ID for the report itself, same for the others.
- - Order Reports
- - Inventory Reports
- - Performance Reports
- - Fulfillment Reports
- - Advertising Reports
- - Business Reports
- - Paymentys Reports
- - Return Reports
where do I find Report IDs
I need report IDs for API. Where do I find report IDs for the following reports. I am not looking for an order ID in an Oeder report but the ID for the report itself, same for the others.
- - Order Reports
- - Inventory Reports
- - Performance Reports
- - Fulfillment Reports
- - Advertising Reports
- - Business Reports
- - Paymentys Reports
- - Return Reports
7 replies
Seller_5OoNWIikvQ4cB
Amazon reports are not generated by IDs but by types and the process is asynchronous. You get a Report ID from Amazon right away after you ask them to create a report of your choice. But then you have to come back and keep checking that Report ID to see if your report is ready. The flow is like this:
Params.ReportType = GET_MERCHANT_LISTINGS_ALL_DATA
ReportId = Connection.Reports.CreateReport(Params);
ReportDocumentId = null
while ReportDocumentId is null
{
Sleep 10 seconds
ReportData = Connection.Reports.GetReport(ReportId)
ReportDocumentId = reportData.ReportDocumentId
}
https://developer-docs.amazon.com/sp-api/docs/reports-api-v2021-06-30-reference