Method: accounts.merchantReviews.insert
הוספת בדיקה לחשבון Merchant Center. אם הבדיקה כבר קיימת, היא מוחלפת במופע החדש.
בקשת HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. החשבון שאליו תתווסף הביקורת על המוכר. פורמט: accounts/{account}
|
פרמטרים של שאילתה
פרמטרים |
dataSource |
string
חובה. מקור הנתונים של הפורמט merchantreview: accounts/{account}/dataSources/{datasource} .
|
גוף הבקשה
גוף הבקשה מכיל מופע של MerchantReview
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של MerchantReview
.
היקפי הרשאה
נדרש היקף הרשאות 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 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]