smart/3pl-central

PHP 3PL Central

0.1.8 2016-06-28 23:19 UTC

This package is not auto-updated.

Last update: 2024-10-26 19:32:35 UTC


README

Build Status StyleCI Scrutinizer Code Quality Code Coverage Code Climate Latest Stable Version Total Downloads License SensioLabsInsight Join the chat at https://gitter.im/smart-io/php-3pl-central

This library is aimed at wrapping the 3PL Central API into a simple to use PHP Library. Feel free to contribute.

Table Of Content

  1. Requirements
  2. Installation
  3. Find Orders
  4. License

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).