Method: accounts.productReviews.insert
Menyisipkan ulasan produk.
Permintaan HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Akun tempat ulasan produk akan disisipkan. Format: accounts/{account}
|
Parameter kueri
Parameter |
dataSource |
string
Wajib. Format: accounts/{account}/dataSources/{datasource} .
|
Isi permintaan
Isi permintaan memuat instance ProductReview
.
Isi respons
Jika berhasil, isi respons memuat instance ProductReview
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 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"]]