Use this call to change the executing order of the rules by swapping them with each other.
Name | Type | Description |
---|---|---|
pkRuleId1 | Int32 | The first rule id |
pkRuleId2 | Int32 | The second rule id |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/RulesEngine/SwapRules
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.
pkRuleId1=1&pkRuleId2=1
This is an example of the response JSON. Results will vary depending on your data.