Method: accounts.productReviews.insert
طلب HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. الحساب الذي سيتم إدراج مراجعة المنتج فيه التنسيق: accounts/{account}
|
مَعلمات طلب البحث
المعلمات |
dataSource |
string
مطلوب. التنسيق: accounts/{account}/dataSources/{datasource}
|
نص الطلب
يحتوي نص الطلب على مثال ProductReview
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال ProductReview
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/content
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]