Method: accounts.notificationsubscriptions.patch
Aktualisiert ein vorhandenes Benachrichtigungsabo für einen Händler.
HTTP-Anfrage
PATCH https://merchantapi.googleapis.com/notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
notificationSubscription.name |
string
Nur Ausgabe. Die name der Benachrichtigungskonfiguration. Wird von der Content API beim Erstellen einer neuen NotificationSubscription generiert. Der account steht für die Händler-ID des Händlers, dem die Konfiguration gehört. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
Suchparameter
Parameter |
updateMask |
string (FieldMask format)
Liste der aktualisierten Felder.
|
Anfragetext
Der Anfragetext enthält eine Instanz von NotificationSubscription
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von NotificationSubscription
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/content
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-23 (UTC).
[null,null,["Zuletzt aktualisiert: 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."]]],[]]