OrderDetails
POST
/billoflading/onlineordersdetailsLast modified: 18 days ago
OrderDetails API
The OrderDetails
endpoint allows users to send updates to existing orders that have already been transmitted through the Orders
endpoint. Updates provided here will replace any existing details associated with the specified ShipmentNumber
.
:::caution[Caution]
Important Note: Since this API call overrides any current data for the specified ShipmentNumber
, only use this for updates that are intended to replace previously submitted information.
:::
Input:
Authentication:
UserName
: User's unique identifier.ClientCode
: Code associated with the client.AuthenticationID
: Unique session ID for authentication.
Order Identification:
ShipmentNumber
: Required. The unique identifier of the shipment to be updated, which links this update to the original order.InternalBOLNumber
: An optional internal reference for tracking the Bill of Lading within your system.
Updated Line Items:
Items
: Array of shipment items that replaces the existing items for the order. Each item must include:ShippingUnits
: Number of units being shipped.PKGType
: Type of packaging (e.g., box, pallet).Description
: Description of the item(s).NMFC
: National Motor Freight Classification code.ClassNum
: Freight class number.Weight
: Weight of the item.Haz
: Specifies if the item is hazardous (true or false).
Output:
ErrorMessage
: If an error occurs, this field contains the error message; otherwise, it will benull
.Accepted
: Indicates if the update was successfully processed (true
orfalse
).
Request
Body Params application/json
UserName
string
required
ClientCode
string
required
AuthenticationID
string
required
InternalBOLNumber
string
required
ShipmentNumber
string
required
Items
array [object {7}]
required
ShippingUnits
string
optional
PKGType
string
optional
Description
string
optional
NMFC
string
optional
ClassNum
string
optional
Weight
string
optional
Haz
boolean
optional
Example
{
"UserName": "",
"ClientCode": "null",
"AuthenticationID": "null",
"InternalBOLNumber": "null",
"ShipmentNumber": "null",
"Items": [
{
"ShippingUnits": "0",
"PKGType": "null",
"Description": "null",
"NMFC": "null",
"ClassNum": "null",
"Weight": "0",
"Haz": false
}
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured