Resource: NotificationSubscription
Represents a notification subscription owned by a Merchant account.
| JSON representation | 
|---|
{ "name": string, "registeredEvent": enum (  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Output only. The   | 
              
registeredEvent | 
                
                   
 The event that the merchant wants to be notified about.  | 
              
callBackUri | 
                
                   
 URL to be used to push the notification to the merchant.  | 
              
Union field  
  | 
              |
allManagedAccounts | 
                
                   
 If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.  | 
              
targetAccount | 
                
                   
 The   | 
              
NotificationEventType
Represents the event type that the merchant is interested in receiving notifications for.
| Enums | |
|---|---|
NOTIFICATION_EVENT_TYPE_UNSPECIFIED | 
                Notifications event type is unspecified. | 
PRODUCT_STATUS_CHANGE | 
                Notification of product status changes, for example when product becomes disapproved. | 
Methods | 
            |
|---|---|
                
 | 
              Creates a notification subscription for a business. | 
                
 | 
              Deletes a notification subscription for a merchant. | 
                
 | 
              Gets notification subscriptions for an account. | 
                
 | 
              Gets all the notification subscriptions for a merchant. | 
                
 | 
              Updates an existing notification subscription for a merchant. |