i've implemented amazon product search using code given in:
i don't prices amazon product advertising api.
now i'm trying fetch current price of product amazon. got retail price.
for example, when try fetch prices of product: http://www.amazon.com/gp/product/0743273567/ref=ox_sc_act_title_1?ie=utf8&psc=1&smid=atvpdkikx0der using amazon api, got following values:
listprice] => array ( [0] => array ( [amount] => 1500 [currencycode] => usd [formattedprice] => $15.00 ) ) .... [offersummary] => array ( [0] => array ( [lowestnewprice] => array ( [0] => array ( [amount] => 343 [currencycode] => usd [formattedprice] => $3.43 ) ) [lowestusedprice] => array ( [0] => array ( [amount] => 250 [currencycode] => usd [formattedprice] => $2.50 ) ) [lowestcollectibleprice] => array ( [0] => array ( [amount] => 995 [currencycode] => usd [formattedprice] => $9.95 ) ) ..... [offerlisting] => array ( [0] => array ( [offerlistingid] => nmbrkfxxdorqool8kmzxnmkb9x2xwmb44hknuwc49%2f8yfcc96dcsb3rhwjdaiqt9fwho%2bugnixwabug5rafqchfsncsdigqpu4f7x0pzspbyujd5zq%2bm0%2fuuinux917hjrdhhgwa9htfcslqfjlab5v62zgca%2fmy [price] => array ( [0] => array ( [amount] => 343 [currencycode] => usd [formattedprice] => $3.43 ) ) [amountsaved] => array ( [0] => array ( [amount] => 1157 [currencycode] => usd [formattedprice] => $11.57 ) ) [percentagesaved] => 77 ..... the retail price : $15.00 can seen in listprice parameter, couldn't find current price : $7.70 anywhere in api response.
i've tried various responsegroups like: offers, offerfull, large, medium etc.
please me. in advance !
from amazon docs, suggests operation=itemlookup return product data , response have <lowestnewprice><amount> tag gives latest price of requested item. please refer document provided amazon.
hope helps you.
thanks!
Comments
Post a Comment