Today, I was noticing one of my Amazon sites was not displaying prices for *some* apparel items. Looking closely at the XML response coming back from AWS, I noticed that ItemAttributes->ListPrice->FormattedPrice was not included as well as OfferSummary->LowestNewPrice->FormattedPrice was missing as well. Price of any sort was completely missing in about 80% of my apparel listings when I do a ItemSearch.
After doing some Googlin’ I found others with similar problems. It’s definitely not a new problem, so I was glad there were solutions, so I wanted to post this in case others run across this issue. It might be in other SearchIndexes besides apparel.
The solution is to modify your ResponseGroup value in your request to AWS. Normally, I only ask for “Offers, Images,ItemAttributes”. What you need to do is include “Variations” as well. So my ResponseGroup looks like: “Offers,Images,ItemAttributes,Variations”
You should now see VariationSummary in your XML response. To access the price there you would look at VariationSummary->LowestPrice->FormattedPrice
Hope this helps!
Incoming search terms:
- api product itemlookup price
- amazon api itemsearch price
- responsegroup itemattributes offers images reviews
- response group for list price in amazon api
- ListPrice->FormattedPrice
- itemsearch amazon response number
- itemsearch amazon product api price
- itemattributes listprice formattedprice
- itemattributes listprice
- aws response groups price
Related posts:
Doesn’t work for me. I changed the following:
$ResponseGroup = “ItemAttributes,Offers,Images,Reviews”;
to:
$ResponseGroup = “Offers,Images,ItemAttributes,Variations”;
and
$price = $item->ItemAttributes->ListPrice->FormattedPrice;
to:
$price = $item->VariationSummary->LowestPrice->FormattedPrice;
Now I don’t see prices at all.
Thank you for making this post. The missing FormattedPrice has been a nagging issue in my project for quite a while. Checking the VariationSummary was the solution.