---
title: "POST /{merchantId}/recommendations/reportInteraction"
method: POST
path: "/{merchantId}/recommendations/reportInteraction"
tags: ["recommendations"]
---

# POST /{merchantId}/recommendations/reportInteraction

`POST /{merchantId}/recommendations/reportInteraction`

Reports an interaction on a recommendation for a merchant.

## Path parameters

- `merchantId` string, required

## Request body

- ReportInteractionRequest — Request to report interactions on a recommendation.
  - `interactionType` 'INTERACTION_TYPE_UNSPECIFIED' | 'INTERACTION_DISMISS' | 'INTERACTION_CLICK' — Required. Type of the interaction that is reported, for example INTERACTION_CLICK.
  - `responseToken` string — Required. Token of the response when recommendation was returned.
  - `type` string — Required. Type of the recommendations on which this interaction happened. This field must be set only to the value that is returned by {@link `GenerateRecommendationsResponse`} call.
  - `subtype` string — Optional. Subtype of the recommendations this interaction happened on. This field must be set only to the value that is returned by {@link `RecommendationsService.GenerateRecommendations`} call.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/revisions/1033388fc86f/schema)
