Method: accounts.merchantReviews.insert
Fügen Sie eine Überprüfung für Ihr Merchant Center-Konto ein. Wenn die Rezension bereits vorhanden ist, wird sie durch die neue Instanz ersetzt.
HTTP-Anfrage
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Das Konto, in das die Händlerrezension eingefügt werden soll. Format: accounts/{account}
|
Abfrageparameter
Parameter |
dataSource |
string
Erforderlich. Die Datenquelle des merchantreview-Formats: accounts/{account}/dataSources/{datasource} .
|
Anfragetext
Der Anfragetext enthält eine Instanz von MerchantReview
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von MerchantReview
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/content
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-23 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]