Catalog npm
PACKAGE EXPLORERView in registry

3pl-central

npm

3PL Central API Wrapper

3plapicentral
Versions collected8
Direct dependencies15From release 0.1.7
Last observed20 Oct, 19:50 UTC

README

Current package documentation

3PL Central

Microservice

Config in .env file.

docker pull smartio/3pl-central
docker run -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 25672:25672 it --rm --name 3pl-central smartio/3pl-central 

Docker Compose

3pl-central:
  env_file: .env
  image: smartio/3pl-central
  volumes:
   - "/mnt/sda1/var/3pl_central_data:/data/db"
  ports:
    - "4369:4369"

Usage

Listen to new orders

import { connect, listen } from '3pl-central';

connect(host)
  .then(client => {
    client.on('newOrder', order => console.log(order));
  })
  .then(listen);

Find orders

import { connect, close, findOrders } from '3pl-central';
import moment from 'moment';

connect(host)
  .then(() => findOrders(moment().subtract(14, 'days')))
  .then(orders => console.log(orders))
  .then(close);

Data Structure

Order

CustomerName
CustomerEmail
CustomerPhone
Facility
FacilityID
WarehouseTransactionID
ReferenceNum
PONum
Retailer
ShipToCompanyName
ShipToName
ShipToEmail
ShipToPhone
ShipToAddress1
ShipToAddress2
ShipToCity
ShipToState
ShipToZip
ShipToCountry
ShipMethod
MarkForName
BatchOrderID
CreationDate
EarliestShipDate
ShipCancelDate
PickupDate
Carrier
BillingCode
TotWeight
TotCuFt
TotPackages
TotOrdQty
TotLines
Notes
OverAllocated
PickTicketPrintDate
ProcessDate
TrackingNumber
LoadNumber
BillOfLading
MasterBillOfLading
ASNSentDate
ConfirmASNSentDate
RememberRowInfo

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 8

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.7Registry latest7 Jun 201615
0.1.67 Jun 201615
0.1.528 Apr 201614
0.1.425 Apr 201614
0.1.315 Apr 201612
0.1.215 Apr 201612
0.1.115 Apr 201612
0.1.015 Apr 201612

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
smart-io/3pl-central

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d415866e5d993520043fe2baf79d6f529070e63e3168760c52e2b30b5b34b151