smart / 3pl-central
PHP 3PL Central
Installs: 7 441
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 5
Open Issues: 0
Requires
- php: ^5.6 || ^7.0
- guzzlehttp/guzzle: ^6.0
- psr/log: ^1.0
Requires (Dev)
- phpunit/phpunit: ^5.4
README
This library is aimed at wrapping the 3PL Central API into a simple to use PHP Library. Feel free to contribute.
Table Of Content
Requirements
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.
Installation
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
Find Orders
Example
use ThreePlCentral\ThreePlCentral; $threepl = new ThreePlCentral($id, $customerId, $facilityId, $login, $password); $threepl->findOrders((new DateTime())->modify('-30 days'), new DateTime());
Parameters
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.
Fields
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
License
PHP 3PL Central is licensed under The MIT License (MIT).