Method: accounts.notificationsubscriptions.patch
HTTP 要求
PATCH https://merchantapi.googleapis.com/notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
notificationSubscription.name |
string
僅供輸出。通知設定的 name 。在建立新的 NotificationSubscription 時,由 Content API 產生。account 代表擁有設定的商家商家 ID。格式:accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
查詢參數
參數 |
updateMask |
string (FieldMask format)
要更新的欄位清單。
|
回應主體
如果成功,回應主體會包含 NotificationSubscription
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/content
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-23 (世界標準時間)。
[null,null,["上次更新時間:2025-01-23 (世界標準時間)。"],[[["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."]]],[]]