Socket
Book a DemoInstallSign in
Socket

node-shipping-purolator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-shipping-purolator

Purolator API for Node.js

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Node Shipping Purolator

Install

npm i node-shipping-purolator

Usage

Init

const PurolatorAPI = require('node-shipping-purolator');

const purolator = new PurolatorAPI({
  environment: 'production', // or development
  debug: true,
  key: '[key]',
  password: '[password]',
  account: '[account number]'
});

Documents

See params here

purolator.getDocuments(params, cb);

purolator.getShipmentManifestDocument(params, cb);

Estimate

See params here

purolator.getQuickEstimate(params, cb);

purolator.getFullEstimate(params, cb);

Pickup

See params here

purolator.schedulePickup(params, cb);

purolator.voidPickup(params, cb);

purolator.validatePickup(params, cb);

Return Shipment

See params here

purolator.createReturnShipment(params, cb);

purolator.validateReturnShipment(params, cb);

Services

See params here

purolator.getServicesOptions(params, cb);

purolator.getServicesRules(params, cb);

purolator.validateCityPostalCodeZip(params, cb);

Shipment

See params here

purolator.consolidate(params, cb);

purolator.voidShipment(params, cb);

purolator.validateShipment(params, cb);

purolator.createShipment(params, cb);

Tracking

See params here

purolator.trackPackagesByPin(params, cb);

purolator.trackPackagesByRef(params, cb);

purolator.getDeliveryDetails(params, cb);

Official Purolator API documentation

TO DO

  • ModifyPickUp
  • GetPickUpHistory
  • GetLocationsByAddress
  • GetLocationsByCoordinates
  • GetLocationsByCity
  • GetLocationsByPointOfInterest
  • GetLocationsByPostalCode

FAQs

Package last updated on 28 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts