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.