Is it possible to get products discounted through the Amazon API?

I want to look for the Amazon API for discounted products (30% or more). Is there an easy way to do this through the API?

+4
source share
2 answers

For certain search indexes, you can request a minimum percentage:

http://docs.amazonwebservices.com/AWSECommerceService/2011-08-01/DG/USSearchIndexParamForItemsearch.html

For example, if I am looking for toys, I can get a minimum percentage of the following parameters:

{"SearchIndex": "Toys", "Service": "AWSECommerceService", "AWSAccessKeyId": "xxx", "Timestamp": "2011-12-26T05: 41: 20Z", "Version": "2009 -11- 02 "," Keywords ":" Halo "," AssociateTag ":" xxx "," MinPercentageOff ": 30," Operation ":" ItemSearch "," ResponseGroup ":" Large "}

However, if I am looking for video games, the MinPercentageOff parameter is ignored. The documentation page included above shows which of the search indexes accepts this parameter - note that if the index does not support it, it is simply ignored (the search is not interrupted, it simply does not comply with this parameter).

+7
source

Yes, you can quite easily, I launched the API and set a breakpoint and looked down at the attributes and found what you are looking for ...

For a percentage discount, you can find it here:

item->Offers->offersField->offerListingField->percentageSaved 

For the price of an item, his conversation about him can be found here:

 item->Offers->offersField->offerListingField->Price->formattedPriceField 
-1
source

Source: https://habr.com/ru/post/1386862/


All Articles