Exclude by salesrank

If you would like to prevent items with a salesrank higher than a certain value from being sent to a specific marketplace, you can use this script and replace the salesrank and marketplace (example uses a Salesrank of 100000 for Amazon).

var item = FILLZ.ITEM.v1;
var source= FILLZ.SOURCE.AMAZONUS.v2;
if (FILLZ.venue == 'amazon') {
  if (source.sales_rank > 100000) return 0;
}

If you would like to prevent items with a salesrank lower than a certain value from being sent to all marketplaces EXCEPT for Amazon, you can use this script and replace the salesrank (example uses a Salesrank of 50000).

var item = FILLZ.ITEM.v1;
var source= FILLZ.SOURCE.AMAZONUS.v2;
if (FILLZ.venue != 'amazon') {
  if (source.sales_rank < 50000) return 0;
}
Have more questions? Submit a request