Update the general info of a specific order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
info | OrderGeneralInfo | General info |
wasDraft | Boolean | Indicate if the order was a draft before this operation |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderGeneralInfo
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=fb871c87-03dc-4613-ab18-efbb9d5e9fa9&info={
"Status": 1,
"LabelPrinted": true,
"LabelError": "sample string 3",
"InvoicePrinted": true,
"PickListPrinted": true,
"IsRuleRun": true,
"Notes": 7,
"PartShipped": true,
"Marker": 64,
"IsParked": true,
"Identifiers": [
{
"IdentifierId": 1,
"IsCustom": true,
"ImageId": "86eecd5f-90ff-4e43-a495-741d4f60ad71",
"ImageUrl": "sample string 4",
"Tag": "sample string 5",
"Name": "sample string 6"
}
],
"ReferenceNum": "sample string 10",
"SecondaryReference": "sample string 11",
"ExternalReferenceNum": "sample string 12",
"ReceivedDate": "2023-01-10T13:49:45.8845652+00:00",
"Source": "sample string 14",
"SubSource": "sample string 15",
"SiteCode": "sample string 16",
"HoldOrCancel": true,
"DespatchByDate": "2023-01-10T13:49:45.8845652+00:00",
"ScheduledDelivery": {
"From": "2023-01-10T13:49:45.8845652+00:00",
"To": "2023-01-10T13:49:45.8845652+00:00"
},
"HasScheduledDelivery": true,
"Location": "0f9850ae-9ba5-4fbd-9935-676657245d71",
"NumItems": 20,
"PickwaveIds": [
1
],
"StockAllocationType": 0
}&wasDraft=true
This is an example of the response JSON. Results will vary depending on your data.
null