ApplyRecommendationRequest

  • This is the request message for the RecommendationService.ApplyRecommendation method.

  • The request requires a customer_id (string), an array of operations (ApplyRecommendationOperation) up to 100, and an optional boolean partial_failure defaulting to false.

  • The partial_failure field determines if invalid operations will result in errors while valid ones proceed (true) or if the entire set of operations will fail if any are invalid (false).

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.