Method: accounts.productReviews.insert
Inserisce una recensione prodotto.
Richiesta HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. L'account in cui verrà inserita la recensione del prodotto. Formato: accounts/{account}
|
Parametri di query
Parametri |
dataSource |
string
Obbligatorio. Formato: accounts/{account}/dataSources/{datasource} .
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di ProductReview
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di ProductReview
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/content
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-23 UTC.
[null,null,["Ultimo aggiornamento 2025-01-23 UTC."],[[["Inserts a new product review for a specified account using an HTTP POST request."],["Requires specifying the parent account and data source using path and query parameters, respectively."],["The request body must contain a `ProductReview` object, and a successful response will return the created `ProductReview`."],["Authorization is required using the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This document details the process for inserting a product review via an HTTP POST request to `https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert`. It requires specifying the `parent` account in the path and the `dataSource` in the query. The request body and the response body are both instances of `ProductReview`. Authorization is managed via the `https://www.googleapis.com/auth/content` OAuth scope. The user can try to use this API by clicking on \"Try it!\" at the bottom of the document.\n"]]