gigeorge
gigeorge

Reputation: 33

Get sales orders from Amazon MWS scratchpad via API

My mission is to get Amazon sales orders out for a given time period and post these into a SAP ECC back end via SAP PI. I've managed to get the MWS scratchpad working and am a bit stuck as to how i would put the data from the scratch pad into postman or SOAPUI.

  1. I don't know the endpoint for Amazon MWS to find the API or WSDL structure - where to send the call. How can I find out?
  2. how do i know what information to pass into what areas of the SOAPUI or postman tools?
  3. How do i get the WSDL for the MWS response call so i can export it and import that structure into sap to save me building a massive response structure?

This is my mws scratchpad:

MWS

Upvotes: 1

Views: 980

Answers (2)

gigeorge
gigeorge

Reputation: 33

thanks for your assistance enter image description hereagain . The scratchapd works a dream. Yes, i am not sure how postman will do this either. I am calling from SAP PI, presumably some code will have to be written in java to handle the calculation of the signature and timestamp - i get the current error when posting in postman:

Upvotes: 0

ScottG
ScottG

Reputation: 11101

Everything you need is right here: Orders API

It tells you your endpoint, your operations, and your request and response parameters. What language do you use? If you use PHP, C#, or Java, there are client libraries that do all this for you, just plug in your account info.

For the ListOrders operation specifically, it's right here - ListOrders.

The response format is explained here.

You also need to calculate a signature, something that scratchpad and the MWS client libraries will do for you. Not sure how you can do that from Postman.

Upvotes: 1

Related Questions