Method: accounts.notificationsubscriptions.patch
Updates an existing notification subscription for a merchant.
HTTP request
PATCH https://merchantapi.googleapis.com/notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
notificationSubscription.name |
string
Output only. The name of the notification configuration. Generated by the Content API upon creation of a new NotificationSubscription . The account represents the merchant ID of the merchant that owns the configuration. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
List of fields being updated.
|
Request body
The request body contains an instance of NotificationSubscription
.
Response body
If successful, the response body contains an instance of NotificationSubscription
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-23 UTC.
[null,null,["Last updated 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."]]],[]]