Resource: NotificationSubscription
Represents a notification subscription owned by a Merchant account.
JSON representation |
---|
{ "name": string, "registeredEvent": enum ( |
Fields | |
---|---|
name |
Output only. The |
registered |
The event that the merchant wants to be notified about. |
call |
URL to be used to push the notification to the merchant. |
Union field
|
|
all |
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. |
target |
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. |