Method: accounts.merchantReviews.insert
Insere uma avaliação na sua conta do Merchant Center. Se a análise já existir, ela será substituída pela nova instância.
Solicitação HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
parent |
string
Obrigatório. A conta em que a avaliação do comerciante será inserida. Formato: accounts/{account}
|
Parâmetros de consulta
Parâmetros |
dataSource |
string
Obrigatório. A fonte de dados do formato merchantreview: accounts/{account}/dataSources/{datasource} .
|
Corpo da solicitação
O corpo da solicitação contém uma instância de MerchantReview
.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de MerchantReview
.
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/content
Para mais informações, consulte OAuth 2.0 Overview.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-01-23 UTC.
[null,null,["Última atualização 2025-01-23 UTC."],[[["This documentation outlines the process for inserting or replacing a Merchant Center account review using the Merchant Center API."],["It involves sending a POST request to a specific endpoint with details about the review and the target account."],["Required parameters include the account ID and the data source for the review."],["The request and response bodies both utilize the MerchantReview object to structure the review data."],["Authorization using OAuth 2.0 with the `https://www.googleapis.com/auth/content` scope is necessary for this operation."]]],["This documentation outlines the process of inserting or replacing a merchant review via a POST request to `https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert`. The `parent` path parameter specifies the target account. The `dataSource` query parameter specifies the source of the review data. A `MerchantReview` instance is sent in the request body. Upon success, the response body will also contain a `MerchantReview` instance. The request requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]