Putting new rules will replace all existing rules associated with the specified
item_id condition if there are any.
The above command returns a 204 Success response on success. For simplicity sake, a 204 Success response will be returned even if the rule already exists.
PUT 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 searchandize for. Note that only |
|item_id||The item_id you'd like to condition this searchandizing rule on.|
|section||The index section you'd like to retrieve results from (typically |
Conditioning on a specific
item_id will apply searchandizing rules when that
item_id is passed as a parameter via the pods or strategies endpoint.
|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 the |