Send a feedback

Record a feedback for the recommendation

Query url

PUT /api/distribution/customers/{customerId}/recommendations/{recommendationId}/selling-points/{sellingPointId}/feedback

Query header

'Authorization: Bearer <token>'
'Content-Type: application/json'

Query parameters

Name Required Description

customerId

required

Technical ID of the customer (available in the response of api /distribution/discovery/customers/ field: id)

opportunityId

required

Technical ID of the opportunity (available in the response of api /distribution/discovery/customers/ field: opportunities.id)

recommendationId

required

Technical ID of the recommendation (available in the response of api /distribution/discovery/customers/ field: opportunities.recommendations.id)

sellingPointId

required

Technical ID of the selling point (available in the response of api /distribution/discovery/customers/ field: opportunities.recommendations.selling_points.id)

Query body

{

    "value": "positive", (1)
    "selling_points": [ (2)
        {
            "id": "xxxxx",
            "illustration": "Lorem ipsum dolor",
            "prediction_id": "xxxxx"
        }
    ]
}
1 Mandatory
2 Not mandatory