Run in Apidog
This function will change the status of a shipment. This will return the identification number of the shipment that was updated. This function is not to be used to switch shipments between booked or dispatched back to open or vice versa. Suggested uses of this function include: Moving pending shipments to open
Moving shipments from dispatched to in transit
Moving shipments from in transit to delivered
Moving shipments from canceled to open
Request Body Params application/json
{
"AuthenticationData" : {
"Username" : "username" ,
"Password" : "password" ,
"ClientRefNum" : ""
} ,
"LoadId" : 123456 ,
"NewStatus" : "Dispatched"
}
Request Code Samples
curl --location --request POST 'https://ws.integration.banyantechnology.com/services/api/rest/UpdateLoadStatus' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"AuthenticationData": {
"Username": "username",
"Password": "password",
"ClientRefNum": ""
},
"LoadId": 123456,
"NewStatus": "Dispatched"
}'
Responses application/json Generate Code
{
"LoadId" : 52479246 ,
"Success" : true ,
"Error" : {
"Message" : ""
}
}
Modified at 2024-09-16 11:42:17