Beat Lowest Price on AmazonUK

From MediaSell

Jump to: navigation, search

This script will beat the lowest price using Amazon.co.uk pricing data for SAME OR BETTER CONDITION by £0.01, with a £0.49 price floor. This script will only change prices if run on Amazon.co.uk.

(Replace A00000000000 with your Amazon ID.)

myAmzUKID = "A00000000000";
if (marketplace == 'AmazonUK') {
price = item.basePrice;
priceFloor = 0.49;
discount = 0.01;

lowPrice = 0;

priceList = getMarketPrices('sameOrBetter'); 
if (priceList) { 
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzUKID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}

if (lowPrice > 0) price = lowPrice - discount;
if (price < priceFloor) price = priceFloor;

return price;
}


This script will beat the lowest price using Amazon.co.uk pricing data for SAME CONDITION ONLY by £0.01, with a £0.49 price floor. This script will only change prices if run on Amazon.co.uk.

(Replace A00000000000 with your Amazon ID.)

myAmzUKID = "A00000000000";
if (marketplace == 'AmazonUK') {
price = item.basePrice;
priceFloor = 0.49;
discount = 0.01;

lowPrice = 0;

priceList = getMarketPrices(item.condition); 
if (priceList) { 
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzUKID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}

if (lowPrice > 0) price = lowPrice - discount;
if (price < priceFloor) price = priceFloor;

return price;
}


This script will beat the lowest price using Amazon.co.uk pricing data for Any CONDITION by £0.01, with a £0.49 price floor. This script will only change prices if run on Amazon.co.uk.

(Replace A00000000000 with your Amazon ID.)

myAmzUKID = "A00000000000";
if (marketplace == 'AmazonUK') {
price = item.basePrice;
priceFloor = 0.49;
discount = 0.01;

lowPrice = 0;

priceList = getMarketPrices('all'); 
if (priceList) { 
  for (pind=0; pind < priceList.length; pind++) {
    if (priceList[pind].sellerid == myAmzUKID) continue;
    lowPrice = priceList[pind].price;
    break;
  }
}

if (lowPrice > 0) price = lowPrice - discount;
if (price < priceFloor) price = priceFloor;

return price;
}
Personal tools