var strategy = new SetStrategyRequest{ EventsScoring = new List<EventsScoring> { new EventsScoring("Add to cart", "conversion", 50), new EventsScoring("Purchase", "conversion", 100) }, FacetsScoring = new List<FacetsScoring> { new FacetsScoring("brand", 100), new FacetsScoring("categories", 10) }, PersonalizationImpact = 50};client.SetPersonalizationStrategy(strategy);
This section shows the JSON response returned by the API.
Each API client wraps this response in language-specific objects, so the structure may vary.
To view the response, use the getLogs method.
Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON
{ "status": 200, "message": "Strategy was successfully updated"}