Web service URL: BASE_URL/api/Order/Activate Method Action: PUT
Activate offline order (PUT)
Validates and confirms order to be forwarded to courier systems. Works in Async mode, if all data is correct will always return true, Any errors from the courier side will be displayed as an error event in Innoship platform.
Request Body (JSON) :
Name | Type | Required | Description |
courier | string | Yes | courier name |
courierShipmentId | string | Yes | courier awb number |
Parcels | Parcel[] | Optional | Lists of parcels. Count of items cannot be different then original order if provided. |
Parcel[] :
Name | Type | Required | Description |
SequenceNo | integer | Yes | |
Weight | Decimal | Yes | Value in kilograms |
Size | Size[] | Optional | If you want to update box dimensions |
Size[] :
Name | Type | Required | Description |
Width | Double | Yes | value in centimeters |
Length | Double | Yes | value in centimeters |
Height | Double | Yes | value in centimeters |
Example Request :
[ { "courier": "1", "courierShipmentId": "123EX123", "parcels": [ { "sequenceNo": 1, "size": { "width": 10, "height": 10, "length": 10 }, "weight": 1 } ] } ]
Response :
true