Update the shipping info of a specific order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
info | UpdateOrderShippingInfoRequest | Shipping info |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderShippingInfo
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
orderId=85a5bcf2-9778-4ad1-a41c-e200739a474b&info={
"PostalServiceId": "21ecbd67-447f-4cae-9428-af02ecf32793",
"TotalWeight": 1.0,
"ItemWeight": 1.0,
"PostageCost": 1.1,
"TrackingNumber": "sample string 1",
"ManualAdjust": true
}
This is an example of the response JSON. Results will vary depending on your data.
{
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "83359d71-eb4d-4c85-a39d-39fa8d384174",
"ProfitMargin": 9.1,
"TotalDiscount": 10.1,
"Currency": "sample string 11",
"CountryTaxRate": 12.1,
"ConversionRate": 13.1
},
"ShippingInfo": {
"Vendor": "sample string 1",
"PostalServiceId": "8c29d501-03e6-4d48-95de-18bccfac76dd",
"PostalServiceName": "sample string 3",
"TotalWeight": 4.0,
"ItemWeight": 5.0,
"PackageCategoryId": "c0279f36-4aaf-44c3-9cc2-2d8b53de3f5a",
"PackageCategory": "sample string 7",
"PackageTypeId": "c00c9643-317b-4c7e-aab4-e348025ff707",
"PackageType": "sample string 8",
"PostageCost": 9.1,
"PostageCostExTax": 10.1,
"TrackingNumber": "sample string 11",
"ManualAdjust": true
}
}