This library is aimed at wrapping the 3PL Central API into a simple to use PHP Library. Feel free to contribute.
This library uses PHP 7.0+.
To use the 3PL Central, you have to obtain credentials from 3PL Central. For every request, you will have to provide the ID, Customer ID, Facility ID and your 3PL Central Login and Password.
It is recommended that you install the PHP 3PL Central library through composer. To do so, run the Composer command to install the latest stable version of PHP 3PL Central:
composer require smart/3pl-central
use ThreePlCentral\ThreePlCentral;
$threepl = new ThreePlCentral($id, $customerId, $facilityId, $login, $password);
$threepl->findOrders((new DateTime())->modify('-30 days'), new DateTime());
Find Orders parameters are:
beginDate
Object(DateTime) Beginning date time for the retrieval criteria of the orders.endDate
Object(DateTime) Ending date time for the retrieval criteria of the orders.
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
PHP 3PL Central is licensed under The MIT License (MIT).