List items on Amazon only for the first 10 days

If you run this script, your listings will be filtered from all marketplaces except for Amazon if the listings were added to Fillz within 10 days.

If you have items that have been listed in Fillz for more than 10 days, the script will allow the items to be sent to all marketplaces with the base price. You can change the number 10 to a different number, if desired.

var item = FILLZ.ITEM.v1;
var util = FILLZ.UTIL.v1;
if (FILLZ.venue != 'amazon' && util.days_old(item.open_date) <= 10) {
  return 0;
else {
  return item.base_price;

Note: You should run this script daily in order to update items that had previously been filtered and are now allowed to be sent to the other marketplaces.

Have more questions? Submit a request