How do I get product information via Amazon's MWS API?
Asked Answered
L

2

14

I'm trying to automate the addition to and management of our products on Amazon. Looking at the API documentation for the MWS API it doesn't look like there's a way to determine if a product has already been added to Amazon by another seller and if so what its attributes are.

We are building a new product database for all the products we sell and have a table specifically for Amazon attribute data fields (ASIN, etc.). If Product information is already on Amazon, we'd like to pull that data via API and store it to our own database as well.

If you attempt to add a product via CSV and that product already exists on Amazon (and your attributes are in any way different ("m" != "medium") you'll receive and error. In that case you can just piggy back that existing product information and just upload a CSV with your price and quantity for a particular ASIN/SKU/UPC. We'd like to do away with uploading CSV files and again, have our own product table for Amazon attributes.

Will I need to also leverage Amazon's Product Advertising API to determine this or can it be done via MWS?

The documentation for Amazon's APIs aren't exactly fantastic and it's been slow going trying to sort through it all.

We're working with Ruby.

Leila answered 5/12, 2011 at 3:34 Comment(0)
D
8

Amazon's Merchant Web Services API is limited to your Merchant account. So the answer to your question is that yes you will need to use Amazon's Product Advertising API to get information about products that aren't already listed.

That being said you should be aware that there are new restrictions being placed on the Product Advertising API that will limit the number of calls that you can make on a daily basis to 2,000. In addition to this you will have to get an Associate ID that will be tied to your account and needs to be sent with any request.

Also, I find that the information collected using the Product Advertising API is sometimes out of sync with the site and have resorted to scraping the info from the site itself. This has more overhead but you can be assured that the data is current. Of course this is only useful if you already have an ASIN or are dealing strictly with books (which use the ISBN as an ASIN) or Music CDs (which I believe use the UPC as an ASIN).

Digitigrade answered 5/12, 2011 at 3:52 Comment(4)
We've been very surprise by how bad the process of selling with Amazon is. The APIs look like they were built in 1999. No REST, no JSON and just not well done. We assumed integrating with Amazon was going to be a slam dunk. Instead we have people laboring very slowly adding products via spreadsheets (seriously!?).Leila
I guess I just don't understand how it is that we can get a report containing all of a product's data (that we didn't add) via CSV but can't just ping an API for the same thing with something as simple as amazon.com/api/?product=<SOME_ASIN>Leila
Yes, Amazon's APIs can be frustrating to work with and are somewhat inconsistent and buggy. The documentation is superficially helpful and support is hard to obtain. You might also try starting a thread on Amazon's MWS Forum. There are generally some helpful folks over there. amazonsellercommunity.com/forums/forum.jspa?forumID=43Digitigrade
Thanks. I'll check out the forum. Looks like I have a lot of misery ahead of me with Amazon.Leila
G
4

The MWS Products API is where you will find this functionality. Specifically the GetMatchingProductForId operation.

http://docs.developer.amazonservices.com/en_US/products/Products_GetMatchingProductForId.html

(This API probably wasn't available at the time of the original question)

Geary answered 6/8, 2014 at 22:3 Comment(2)
This does not return the actual description. See discussion here: sellercentral.amazon.com/forums/thread.jspa?threadID=253160Hawser
Yes, but this does answer the original poster's question "How do I get product information via Amazon's MWS API?" The fact that the MWS API does not have the product description is outside of that and wasn't specifically asked about.Geary

© 2022 - 2024 — McMap. All rights reserved.