Run Rules Engine on Open Orders
Name | Type | Description |
---|---|---|
orderIds | Guid[] | List of order IDs to run rules on |
ruleId | Nullable<Int32> | Id of Rule to run. Null if all rules should be run |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/RunRulesEngine
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=[
"f280c00a-ce2e-48d1-a9e4-caea01275e81"
]&ruleId=1
This is an example of the response JSON. Results will vary depending on your data.
[
"32fe2cc8-249c-442a-95f8-939557ca7fef"
]