Match Lowest Price for Same or Better Condition

From MediaSell

Jump to: navigation, search

This script will change your price to match the lowest price on Amazon.com in SAME OR BETTER CONDITION with $1.00 price floor (for any marketplace you run the script on):

(Replace A00000000000 with your Amazon ID.)

myAmzID = "A00000000000";

price = item.basePrice;
priceFloor = 1.00;
lowPrice = 0;

priceList = getPrices('sameOrBetter');

if (priceList) {
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}
if (lowPrice > 0) price = lowPrice;
if (price < priceFloor) price = priceFloor;

return price;

This script will change your price to match the lowest price on Amazon.com in SAME CONDITION ONLY with $1.00 price floor (for any marketplace you run the script on):

(Replace A00000000000 with your Amazon ID.)

myAmzID = "A00000000000";

price = item.basePrice;
priceFloor = 1.00;
lowPrice = 0;

priceList = getPrices(item.condition);

if (priceList) {
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}
if (lowPrice > 0) price = lowPrice;
if (price < priceFloor) price = priceFloor;

return price;


This script will change your price to match the lowest price on Amazon.com in ANY CONDITION with $1.00 price floor (for any marketplace you run the script on):

(Replace A00000000000 with your Amazon ID.)

myAmzID = "A00000000000";

price = item.basePrice;
priceFloor = 1.00;
lowPrice = 0;

priceList = getPrices('all');

if (priceList) {
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}
if (lowPrice > 0) price = lowPrice;
if (price < priceFloor) price = priceFloor;

return price;
Personal tools