can you explain how to get all product list, while i submit requestReport (_GET_MERCHANT_LISTINGS_ALL_DATA_)
I got the following request:
<?xml version="1.0"?>
<RequestReportResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
<RequestReportResult>
<ReportRequestInfo>
<ReportType>_GET_MERCHANT_LISTINGS_ALL_DATA_</ReportType>
<ReportProcessingStatus>_SUBMITTED_</ReportProcessingStatus>
<EndDate>2016-11-02T12:12:30+00:00</EndDate>
<Scheduled>false</Scheduled>
<ReportRequestId>50148017107</ReportRequestId>
<SubmittedDate>2016-11-02T12:12:30+00:00</SubmittedDate>
<StartDate>2016-11-02T12:12:30+00:00</StartDate>
</ReportRequestInfo>
</RequestReportResult>
<ResponseMetadata>
<RequestId>05d33eb0-dbaf-42d0-88c1-794605d55980</RequestId>
</ResponseMetadata>
</RequestReportResponse>
Then how can i get the list of all products?
It's all spelled out right here: http://docs.developer.amazonservices.com/en_US/reports/index.html
Basically, you submit a request with a RequestReport
operation, check the status of the request with GetReportRequestList
. When complete, you'll get a GeneratedReportId
, and you'll use that to call GetReportList
and/or GetReport
with the report id to get the report data.
Since you've already submitted a report request, use the ReportRequestId
that you have received and call GetReportRequestList
. http://docs.developer.amazonservices.com/en_US/reports/Reports_GetReportRequestList.html
That will tell you the status and let you know when it's done and well as giving you a GeneratedReportId
Since you're using PHP, download the SDK for PHP and most of the work is already done for you. https://developer.amazonservices.com/doc/bde/reports/v20090101/php.html/154-1105707-5344447