PHP code for integration with FourKites API.
Please, add your credentials to use the API.
// Credentials
$credentials = [
'username' => '',
'password' => ''
];If you don't have credentials, please, contact FourKites Support Team at
[email protected].
We are able to receive one vehicle information per request.
// Location to be sent
$content = [
'shipper' => '', // An internal code to identify the shipper
'billOfLading' => '', // Load/shipment number
'tractorNumber' => '', // Truck plate
'trailerNumber' => '', // Trailer plate
];Additional information can be sent. Please, check the Tracking information Assignment documentation for more details.