· 7 years ago · Nov 09, 2018, 10:00 AM
1var mwsProd = require('mws-product');
2var app = mwsProd({auth: {sellerId: 'SELLERID', accessKeyId: 'ACCESSKEYID', secretKey: 'SECRETKEY'}, marketplace: 'US'});
3
4app.matchingProductForId({idType: 'ASIN', idList: ['B00863WC40','B008648946']}, function(err, data) {
5 if(!err) {
6 console.log(JSON.stringify(data, null, 2));
7 } else {
8 console.log(err);
9 }
10});