3.6 Update Shipment Weight
Description
User can update shipment weight by provide single or multiple HawbNo and the total weight. (Note that this function is not supported by all services. Please contact administrator for confirmation.)
Sandbox/Testing URL: https://sandbox-apiv2.unixus.com.my/shipment/v2/UpdateWeight
Production/Live URL: https://apiv2.unixus.com.my/shipment/v2/UpdateWeight
Method : POST
Content-Type : application/json
Accept-Language : en
Authorization : Bearer {access_token}
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:
{
"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
}
}
]
}