Method: accounts.productReviews.insert
HTTP isteği
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Ürün yorumunun ekleneceği hesap. Biçim: accounts/{account}
|
Sorgu parametreleri
Parametreler |
dataSource |
string
Zorunlu. Biçim: accounts/{account}/dataSources/{datasource} .
|
İstek içeriği
İstek metni, ProductReview
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, ProductReview
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/content
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-23 UTC.
[null,null,["Son güncelleme tarihi: 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"]]