3.6 Update Shipment Weight
Description
User can update shipment weight by provide single or multiple HawbNo and the total weight.
Request
Data Structure
UpdateShipmentWeight
Field | Type | Mandatory | Remarks |
---|---|---|---|
ShipmentsWeight | UpdateShipmentsWeightDetails[] | Yes | Refer to UpdateShipmentsWeightDetails |
UpdateShipmentsWeightDetails
Field | Type | Mandatory | Remarks |
---|---|---|---|
HawbNo | String | Yes | |
ActualWeight | Numeric | Yes |
Sample:
POST /{api_version}/UpdateWeight
Content-Type: application/json
Accept-Language: en
Authorization: Bearer {access_token}
{
"ShipmentsWeight" : [
{
"HawbNo" : "458040010395273",
"ActualWeight" : 3.0
},
{
"HawbNo" : "458040010400335",
"ActualWeight" : 7.0
}
]
}
Response
Sample
{
"Summary": {
"Total": 2,
"Success": 2,
"Failed": 0
},
"ShipmentsResponse": [
{
"IsSuccess": true,
"ShipmentWeightDetails": {
"HawbNo": "458040010395273",
"ActualWeight": 3.0
}
},
{
"IsSuccess": true,
"ShipmentWeightDetails": {
"HawbNo": "458040010400335",
"ActualWeight": 7.0
}
}
]
}