views:

262

answers:

3

It looks like this question has been asked before, here and in other places on the web, but I have yet to find any solid documentation on how it's done.

We need a way to pragmatically "suck" orders out of Amazon Seller Central on a regular basis, and insert the data into a database on our server for processing. There's hints that you can create a nuSOAP client that does this, but Amazon's documentation is weak to non-existent.

Has anyone actually got this to work? Is there a good resource that I may have overlooked?

Thanks,

Nick



* Latest Update (9.01.09) *

Amazon turned my reports into XML format, but this still isn't working.

I get the response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SE="http://schemas.xmlsoap.org/soap/encoding/"&gt;

<SOAP-ENV:Body>
<ns1:ArrayOfMerchantDocumentInfo_Response xsi:type="ns0:ArrayOfMerchantDocumentInfo" xmlns:ns0="http://www.amazon.com/merchants/merchant-interface/" xmlns:ns1="http://systinet.com/xsd/SchemaTypes/"/&gt;
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Which is supposed to be a list of available documents (orders). But it looks like a bunch of nothing to me! I can't believe that No one knows how to do this. Amazon has some pretty big companies selling there and I have a hard time believing they all invoice by hand!


* Update *

I've found a sample written in PHP, here. Unfortunately, It doesn't work. It (quite literally) does nothing.

I sent an email to their support department, and got a one-line RTFM pointing to this less than thorough documentation.

I'm still going to try and get this working, and I'll post back with update- But if we can't get this going soon, we're going to have to drop Amazon. We've gotten too large to process orders manually, and clearly they don't care about helping their customers.


* Amazon's Documentation Says: *

Although Amazon.com developed this initial version, we have no intent to support,
maintain, or otherwise revise it in the future. Our hope is that someone in the Open Source
community will step forward as the package maintainer, and later release new versions pursuant to the applicable licensing requirements.

Thanks, Amazon, for being so useful.

A: 

Nick,

Please check if you generate Order Reports on Sellercentral. It located under Orders->Order Reports.

MP
A: 

Forget SOAP and use the fairly simple Amazon Inventory Management API: http://www.amazonsellercommunity.com/forums/ann.jspa?annID=18

Not sure what environment you are using but most have simple HTTP GET/POST capabilities.

pbreitenbach
I think I looked at that... does it just do inventory? Our goal was to "suck" orders into our bookkeeping/shipping software to avoid re-keying. We did actually get SOAP working- eventually.
Nick
+1  A: 

Thanks everyone,

I did eventually get this working (after 3 weeks of hacking at their sample code).

It was a complete nightmare. You start with their sample code (which they claim doesn't exist), then you have to find about 20 different pear libraries, and then rename them because they're all named wrong.

Then you have to change the methods your calling via SOAP to undocumented ones- because the ones that are in the documentation don't actually work.

...and finally, have them set your reports as XML and schedule for every 4 hours. Which actually takes 3 days before it starts generating reports.

Of course, any email to their 'support' department basically gets you a reply that says:

    Thank you for contacting Amazon.

    Please enjoy this view of our middle finger.

    Have a nice day!

(and then they have the audacity to send a follow-up email asking if their response was helpful!) Amazon sucks. I'll be glad when we get rid of them.

Nick
Glad for you, but you should mark this answer as accepted, so the question no longer pops up in the unanswered list
Bart van Heukelom