Appearance
Modify Parcel Size&Weight
Request Method
http
POST /api/parcel/edit-parcel-size-weightNOTE
Modify Parcel Size Or Weight
Header
| Field | Description |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parameter
| Field | Mandatory | Type | Description | Length |
|---|---|---|---|---|
| wmg_tracking_num | Y | String | WMG Tracking Num | <= 60 characters |
| weight | N | Numeric | The declared weight of the parcel. If left blank will not modify | 3 digit decimal place 9.999 |
| length | N | Numeric | The length of the parcel. If left blank will not modify | 2 digit decimal place 9.99 |
| width | N | Numeric | The width of the parcel. If left blank will not modify | 2 digit decimal place 9.99 |
| height | N | Numeric | The height of the parcel. If left blank will not modify | 2 digit decimal place 9.99 |
Request
json
{
"wmg_tracking_num": "CY18000004XX4SG",
"weight": "12.028",
"length": "12.08",
"width": "12.08",
"height": "12.08"
}Response(Success)
json
{
"Code": 0,
"Message": "Success",
"Data": []
}Response(Fail)
json
{
"Code": 1,
"Message": "Parcel Not Found",
"Data": []
}