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
courierstringYescourier name
courierShipmentIdstringYes
courier awb number
Parcels
Parcel[]
OptionalLists 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[] :

NameTypeRequiredDescription
WidthDoubleYesvalue in centimeters
LengthDoubleYesvalue in centimeters
HeightDoubleYesvalue in centimeters


Example Request : 

[
  {
    "courier": "1",
    "courierShipmentId": "123EX123",
    "parcels": [
      {
        "sequenceNo": 1,
        "size": {
          "width": 10,
          "height": 10,
          "length": 10
        },
        "weight": 1
      }
    ]
  }
]

Response :

true