ApplyRecommendationRequest

  • This message is used to apply recommendations via the RecommendationService.ApplyRecommendation method.

  • It requires the customer_id and a list of operations to apply the recommendations.

  • The partial_failure field allows for either transactional or partial application of operations, defaulting to false for transactional behavior.

Request message for RecommendationService.ApplyRecommendation.

Fields

customer_id

string

Required. The ID of the customer with the recommendation.

operations[]

ApplyRecommendationOperation

Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.

partial_failure

bool

If true, successful operations will be carried out and invalid operations will return errors. If false, operations will be carried out as a transaction if and only if they are all valid. Default is false.