@apigrate/shipstation

2.3.2 • Public • Published

apigrate-shipstation

Shipstation API wrapper by Apigrate

Usage

var ShipStation = require('@apigrate/shipstation');

var ssapi = new ShipStation('key', 'secret');

orderSearchParms = {
  createDateStart: '2018-01-01 00:00:00',
  createDateEnd :'2018-03-01 00:00:00'
};

ssapi.listOrders(orderSearchParms)
.then(function(orders){
  // orders available...
})
.catch(function(err){
  // handle the error...
});

Available Methods

Carrier-Related

  1. listCarriers
  2. listPackagesByCarrier
  3. listServicesByCarrier

Order-Related

  1. getOrder
  2. listOrders
  3. listOrdersTaggedWith
  4. saveOrder
  5. createLabelForOrder
  6. markOrderAsShipped
  7. tagOrder
  8. untagOrder
  9. holdOrderUntil

Shipment-Related

  1. listShipments
  2. createShipmentLabel
  3. voidLabel
  4. getRates

Tags

  1. listTags

Warehouses

  1. listWarehouses
  2. createWarehouse

Webhooks

  1. listWebhooks
  2. subscribeWebhook
  3. unsubscribeWebhook

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @apigrate/shipstation

    Weekly Downloads

    27

    Version

    2.3.2

    License

    Apache-2.0

    Unpacked Size

    28.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • apigratedev