FillZRepricingHelp

From MediaSell

Jump to: navigation, search
Scripting Basics

Amazon Pricing Results

  • Amazon provides pricing data to third-party services in "pages"; we only receive a limited number of each condition type.
  • FillZ receives pages of data containing the lowest prices on the Amazon marketplaces, as well as Amazon's price if they are selling an item. We are able to provide up to a maximum of 10 New, 20 Used and 10 Collectible results. Typically we will provide 10 Used prices, but if there isn't a good spread of data across Like New, Very Good, Good and Acceptable, we might grab an extra page of Used prices, to total up to 20 results.


Variables & Operators

The following functions and variables are available in the FillZ pricing scripts:

   * return price; - store the price you want to set for the market using this function
   * return; - leave current price unchanged
   * priceList[pind].sellerfeedback  = grabs seller feedback within the price list loop
   * isOlder(item.open_date, 5) - check if item was created more than 5 days ago
   * item - the current item. This object has the following data elements:
         o item.basePrice - the base price.
         o item.sku - the SKU.
         o item.condition - the numeric item condition - see getPrices.
         o item.title - the title.
         o item.quantity - the quantity available in your inventory.
         o item.manufacturer - the publisher.
         o item.itemType - the type of item - book, DVD, etc.
         o item.cost - the cost entered by you.
         o item.location - the location.
         o item.lastModified - when the item was last modified.
         o item.isExpedited - whether you specified expedited shipping available.
         o item.isInternational - whether you specified int'l shipping available.
         o item.standing - the standing of the item.
         o item.asin - the ASIN of the item.
         o item.upc - the UPC of the item - can be undefined.
         o item.note - the item description.
         o item.source - the item source field. 
   * getRank() - the sales rank of the current item. Can be undefined.
   * getAmazonPrice() - the new sales price direct from amazon.com. zero if not available from amazon.com
   * debug - this variable is true if the debug checkbox is checked.
   * alert(string) - prints a string on the results page.
   * getPrices() - grab pricing data (must be defined)
         o getPrices(item.condition) = get the market prices for a condition type. Condition can be a number - use the following 
                                       range: 11 - new, 1 - like new, 2 - very good, 3 - good, 4 - acceptable. The result can be 
                                       an empty array, so check the length.
         o getPrices('all') - get all prices of all conditions
         o getPrices('sameOrBetter') - get prices for same or better condition
   * getSpecificAmazonPrice
   * getSpecificMarketPrices('AmazonUK', 'sameOrBetter');
   * getListPrice()
   * getSpecificMarketListPrice 
   * getMarketPrices - will grab UK data for Amazon.co.uk, DE data for Amazon.de, Abe data for Abe, Amazon.com data for rest


The getPrices() function returns an array of objects. Each object has the following attributes:

  • price - offer price
  • condition - offer condition
  • sellerid - the ID of the seller making the offer (eg. A145U848SR7CTZ)
  • sellerrating - the rating of the seller making the offer (0.0-5.0)
  • sellerfeedback - the feedback count of the seller making the offer (integer >= 0)
  • sellername - the name, state, and country of the seller, if known (eg. bobsbookhut/KY/US or bobsbookhut//)


Typically, one will iterate through the offers like so:

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

Marketplaces

You can use these values below. Note that capitalization is important:

  A1Books, Abebooks, Abebooks2, Alibris, Alibris2, Amazon, Amazon2, AmazonCA, AmazonDE, AmazonFR, AmazonSC, AmazonUK, Biblio,
  BNBQ, Chrislands, Custom1, Custom2, Custom3, EBay, ECampus, Gemm, Half, TextbooksRus, TextbookX, Valore


Amazon Conditions

Value Condition Name
1
Used; Like New
2
Used; Very Good
3
Used; Good
4
Used; Acceptable
5
Collectible; Like New
6
Collectible; Very Good
7
Collectible; Good
8
Collectible; Acceptable
9
Used; Refurbished

(for Electronics and Camera & Photo only)

10
Refurbished

(for Computers, Kitchen & Housewares, Electronics, and Camera & Photo only)

11
New



 

 

 

 

 

 

 

 

 


Best to Worst Condition
New
Collectible; Like New
Used; Like New
Refurbished
Used; Refurbished
Collectible; Very Good
Used; Very Good
Collectible; Good
Used; Good
Collectible; Acceptable
Used; Acceptable


Personal tools