Get Shipment By Order
Request Parameters:
This method allows to get shipments by order:
URL for nopCommerce 4.10 :
Api/Admin/GetShipmentsByOrder
Headers :
Content-Type : application/json
Parameter: Required [orderId]
{
"ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
"RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
"OrderId" : "4"
}
Response :
{
"Data": [
{
"Id": 1,
"OrderId": 4,
"CustomOrderNumber": "4",
"TotalWeight": "4.00 [lb(s)]",
"TrackingNumber": "123",
"TrackingNumberUrl": null,
"ShippedDate": "8/28/2018 11:54:17 AM",
"CanShip": false,
"ShippedDateUtc": "2018-08-28T06:24:17.104556",
"DeliveryDate": "8/28/2018 11:54:17 AM",
"CanDeliver": false,
"DeliveryDateUtc": "2018-08-28T06:24:17.105556",
"AdminComment": "Hello",
"Items": [],
"ShipmentStatusEvents": [],
"Form": null,
"CustomProperties": {}
},
{
"Id": 2,
"OrderId": 4,
"CustomOrderNumber": "4",
"TotalWeight": "2.00 [lb(s)]",
"TrackingNumber": "",
"TrackingNumberUrl": null,
"ShippedDate": "8/28/2018 11:54:17 AM",
"CanShip": false,
"ShippedDateUtc": "2018-08-28T06:24:17.249556",
"DeliveryDate": "8/28/2018 11:54:17 AM",
"CanDeliver": false,
"DeliveryDateUtc": "2018-08-28T06:24:17.249556",
"AdminComment": "",
"Items": [],
"ShipmentStatusEvents": [],
"Form": null,
"CustomProperties": {}
}
],
"Total": 2,
"ExtraData": null,
"Errors": null,
"Form": null,
"CustomProperties": {}
}