Patching rules will only change the rules that are specified in the request.
The above command returns a 204 Success response on success. For simplicity sake, a 204 Success response will be returned even if the item already exists.
PATCH https://ac.cnstrc.com/refined_strategies?key=[your index key]§ion=[section]&strategy_name=[strategy_name]&item_id=[item_id]
|strategy_name||The name of the strategy you'd like to patch searchandizing rules for. Note that only |
|item_id||The item_id condition you'd like to patch searchandizing rules for.|
|section||The index section you'd like to retrieve results from (typically |
|slot_rules||With slot rules, you can add an item to recall and pin it to a particular position. Provide |
|blacklist_rules||Remove matching items from recall.|
|rule||Yes||Rules can accept an object of the various rule specs as show in the above JSON example.|
|active||No||Your searchandizing rules can be defined but set to inactive if you wish by setting |