Skip to content
forked from dfsklar/mws-js

Complete Amazon marketplace web services client for Node.js.

Notifications You must be signed in to change notification settings

ticadia/mws-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mws-sdk

Originally forked from dfsklar/mws-js. This is another continuation of mws-js with a more standarized node module setup.

Examples

Initiation

var MWS = require('mws-sdk'),
    client = new MWS.Client('accessKeyId', 'secretAccessKey', 'merchantId', {}),
    marketPlaceId = "ATVPDKIKX0DER";
var sf = new MWS.Orders.requests.ListOrders({"marketPlaceId": marketPlaceId});
sf.params.MarketplaceId.value = marketPlaceId;
sf.params.CreatedAfter.value = "2014-07-13";
client.invoke(sf, function(RESULT){
  console.log("--------");
  console.log(JSON.stringify(RESULT));
  console.log("--------");
});
var sf = new MWS.Orders.requests.ListOrderItems();
sf.params.AmazonOrderId.value = "111-1715221-5800265";
client.invoke(sf, function(RESULT){
  console.log("--------");
  console.log(JSON.stringify(RESULT));
  console.log("--------");
});

About

Complete Amazon marketplace web services client for Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%