Shipwire Node.js API Library
Status
1 - Experimental
Stability:
shipwire-node-api is a node.js module for asynchronously communicating with the Shipwire APIs.
Getting Started
Use NPM to download and install the API
npm install shipwire-node-api
Then include the Shipwire API in your script
// Load Shipwire APIvar Shipwire = Shipwire;// Configure Shipwire apimoduleexports = <username> <password> <sandbox>;
Orders
orders.create
Creates a new Order
Shipwireorders;
orders.findOne
Finds an Order
orders.find
Finds multiple Orders
orders.cancel
Cancels an Order
orders.holds
Get the list of holds, if any, on an Order
orders.holdsClear
Clear holds on an Order
orders.items
Get the contents of an Order
orders.returns
Get any returns associated with an Order
orders.splitOrders
Get splitOrders information about an Order
orders.trackings
Get Tracking Information of an Order
orders.update
Modifies Information about an Order
Change Log
v0.0.12
POST/PUT as JSON. Order API complete.
v0.0.3
Standarize output
v0.0.2
Add Support for Order API
v0.0.1
Initial Upload of API