Skip to content

HowTo: getReport from SP-API using MWS reportRequestId #3148

Answered by ezpinsky
JordanForeman asked this question in General
Discussion options

You must be logged in to vote

Please try to read the documentation here to help you migrate. In short, you can not just use the reportRequestId. In SP-API, you use createReport operation to get a reportId, you then poll a report using the getReport operation passing the reportId and if you receive a DONE status, you will also receive a reportDocumentId in the response. You will need to cache the reportDocumentId and use that with the getReportDocument operation to receive a url where you're report can be downloaded from. Hope this helps.

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@JordanForeman
Comment options

@JordanForeman
Comment options

Answer selected by JordanForeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants