Order
POST
/billoflading/onlineordersLast modified: 17 days ago
Orders API
The Orders
endpoint allows you to submit shipment requests that need to be scheduled within the Bill of Lading (BOL) application. This endpoint is primarily used for placing orders that are to be tracked and processed as shipments.
:::caution[PRO Numbers]
Kuehne + Nagel LTL+ does not generate PRO numbers on behalf of customers. Customers are required to supply their own PRO numbers, which must be issued by the carrier handling the shipment.
:::
Input Parameters:
Authentication:
UserName
: User's unique identifier.ClientCode
: Code associated with the client.AuthenticationID
: Unique ID for session authentication.
Order Details:
ShipmentNumber
: This must be uniqueBillOfLadingNumber
,InternalBOLNumber
,ProNumber
,PONumber
: Various identifiers for the shipment or order.CarrierName
,CarrierSCAC
,QuoteNumber
: Carrier-specific details for the shipment.ShipmentDate
: Scheduled date of shipment inYYYY-MM-DD
format.
Shipper & Consignee Information:
ShipperCompanyName
,ShipperContactPhone
,ShipperContactName
: Details for the shipping company and contact.ShipperAddress
,ShipperCity
,ShipperState
,ShipperZip
: Full address of the shipper.ConsigneeName
,ConsigneePhone
,ConsigneeContact
: Details for the consignee.ConsigneeAddress
,ConsigneeCity
,ConsigneeState
,ConsigneeZip
: Full address of the consignee.
Third-Party Billing:
- Details if a third party is involved, including
ThirdPartyName
,ThirdPartyPhone
,ThirdPartyAddress
, etc.
- Details if a third party is involved, including
Special Instructions:
SpecialInstructions
: Additional instructions or handling notes.StoreNumber
,DepartmentNumber
: Identifiers for store or department if applicable.
COD & Hazardous Details:
CODFeeCollect
,CODFeePrePaid
,CODAmt
: Information about Collect on Delivery fees.HazContractNUM
,HazContactName
,HazContactPhone
: Contact details for hazardous shipments.
Accessorials:
AccessorialList
: List of optional services or handling codes (e.g.,ServiceCode
for each accessorial).
Shipping Confirmation:
ShippingConfirmationEmail
: Array of email addresses to receive shipping confirmations.
Line Items:
- Array of shipment line items, each with
ShippingUnits
,PKGType
,Description
,NMFC
,ClassNum
,Weight
, andHaz
(hazardous material status).
- Array of shipment line items, each with
Output Structure:
ErrorMessage
: If an error occurs, this field contains the error message; otherwise, it isnull
.Accepted
: Indicates if the order submission was successful (true
orfalse
).
Notes:
- Ensure all required fields are completed based on the specific order’s needs.
- For any additional services or requirements, specify in
AccessorialList
andSpecialInstructions
.
Request
Body Params application/json
UserName
string
required
ClientCode
string
required
AuthenticationID
string
required
BillOfLadingNumber
string
required
ShipmentNumber
string
required
InternalBOLNumber
string
required
ProNumber
string
required
PONumber
string
required
CarrierName
string
required
CarrierSCAC
string
required
QuoteNumber
integer
required
ShipmentDate
string
required
ShipperNumber
string
required
TrailerNumber
string
required
ShipperCompanyName
string
required
ShipperContactPhone
string
required
ShipperContactName
string
required
ShipperAddress
string
required
ShipperCity
string
required
ShipperState
string
required
ShipperZip
string
required
ConsigneeName
string
required
ConsigneePhone
string
required
ConsigneeContact
string
required
ConsigneeAddress
string
required
ConsigneeCity
string
required
ConsigneeState
string
required
ConsigneeZip
string
required
ThirdPartyName
string
required
ThirdPartyPhone
string
required
ThirdPartyContactName
string
required
ThirdPartyAddress
string
required
ThirdPartyCity
string
required
ThirdPartyState
string
required
ThirdPartyZip
string
required
CustomerNumber
string
required
SpecialInstructions
string
required
StoreNumber
string
required
DepartmentNumber
string
required
HazContractNUM
string
required
HazContactName
string
required
HazContactPhone
string
required
DeclaredValue
string
required
DeclaredValueUnitsOfMeasure
string
required
CODFeeCollect
boolean
required
CODFeePrePaid
boolean
required
CODAmt
string
required
Collect
boolean
required
CustomerCheckNotOK
boolean
required
CustomerCheckOK
boolean
required
ShippingConfirmationEmail
array[string]
required
AccessorialList
array [object {1}]
required
ServiceCode
null
optional
LineItems
array [object {7}]
required
ShippingUnits
string
optional
PKGType
null
optional
Description
null
optional
NMFC
null
optional
ClassNum
null
optional
Weight
string
optional
Haz
boolean
optional
Example
{
"UserName": "string",
"ClientCode": "string",
"AuthenticationID": "string",
"BillOfLadingNumber": "string",
"ShipmentNumber": "string",
"InternalBOLNumber": "string",
"ProNumber": "string",
"PONumber": "string",
"CarrierName": "string",
"CarrierSCAC": "string",
"QuoteNumber": 0,
"ShipmentDate": "string",
"ShipperNumber": "string",
"TrailerNumber": "string",
"ShipperCompanyName": "string",
"ShipperContactPhone": "string",
"ShipperContactName": "string",
"ShipperAddress": "string",
"ShipperCity": "string",
"ShipperState": "string",
"ShipperZip": "string",
"ConsigneeName": "string",
"ConsigneePhone": "string",
"ConsigneeContact": "string",
"ConsigneeAddress": "string",
"ConsigneeCity": "string",
"ConsigneeState": "string",
"ConsigneeZip": "string",
"ThirdPartyName": "string",
"ThirdPartyPhone": "string",
"ThirdPartyContactName": "string",
"ThirdPartyAddress": "string",
"ThirdPartyCity": "string",
"ThirdPartyState": "string",
"ThirdPartyZip": "string",
"CustomerNumber": "string",
"SpecialInstructions": "string",
"StoreNumber": "string",
"DepartmentNumber": "string",
"HazContractNUM": "string",
"HazContactName": "string",
"HazContactPhone": "string",
"DeclaredValue": "string",
"DeclaredValueUnitsOfMeasure": "string",
"CODFeeCollect": true,
"CODFeePrePaid": true,
"CODAmt": "string",
"Collect": true,
"CustomerCheckNotOK": true,
"CustomerCheckOK": true,
"ShippingConfirmationEmail": [
"string"
],
"AccessorialList": [
{
"ServiceCode": null
}
],
"LineItems": [
{
"ShippingUnits": "string",
"PKGType": null,
"Description": null,
"NMFC": null,
"ClassNum": null,
"Weight": "string",
"Haz": true
}
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"ErrorMessage": "",
"Accepted": true
}