Lock a list of orders
Name | Type | Description |
---|---|---|
orderIds | List<Guid> | Order id's |
lockOrder | Boolean | Lock or unlock the orders |
ctx | CancellationToken |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/LockOrder
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.
orderIds=[
"ac951a79-51a4-46cb-9719-8a4f11e0b22d"
]&lockOrder=true&ctx={
"IsCancellationRequested": false,
"CanBeCanceled": false,
"WaitHandle": {
"Handle": {
"value": 1292
},
"SafeWaitHandle": {
"IsInvalid": false,
"IsClosed": false
}
}
}
This is an example of the response JSON. Results will vary depending on your data.
null