Method: accounts.notificationsubscriptions.patch
עדכון של מינוי קיים להתראות של מוכר.
בקשת HTTP
PATCH https://merchantapi.googleapis.com/notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
notificationSubscription.name |
string
פלט בלבד. ה-name של הגדרת ההתראה. נוצר על ידי Content API כשיוצרים NotificationSubscription חדש. השדה account מייצג את מספר חשבון Merchant של המוכר שבבעלותו ההגדרה. פורמט: accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
רשימת השדות שמתעדכנים.
|
גוף הבקשה
גוף הבקשה מכיל מופע של NotificationSubscription
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של NotificationSubscription
.
היקפי הרשאה
נדרש היקף הרשאות 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 operation updates an existing notification subscription for a merchant using a `PATCH` request to a specified URL."],["The request requires path and query parameters, including the notification subscription name and an update mask."],["Both the request and response bodies utilize the `NotificationSubscription` object to manage subscription details."],["Authorization is necessary using the `https://www.googleapis.com/auth/content` OAuth scope."]]],[]]