Use this call to enable or disable a condition. Any subconditions or actions belonging to the condition will not be evaluated or executed if it is disabled.
Name | Type | Description |
---|---|---|
pkConditionId | Int32 | The condition id. |
enabled | Boolean | True for enabled, False for disabled. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/RulesEngine/SetConditionEnabled
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.
pkConditionId=1&enabled=true
This is an example of the response JSON. Results will vary depending on your data.