REST Resource: pubsubnotificationsettings

Resource: PubsubNotificationSettings

Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.

JSON representation
{
  "kind": string,
  "cloudTopicName": string,
  "registeredEvents": [
    string
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string "content#pubsubNotificationSettings"

cloudTopicName

string

Cloud pub/sub topic to which notifications are sent (read-only).

registeredEvents[]

string

accounts.list of event types.

Acceptable values are:

  • "orderPendingShipment"

Methods

get

Retrieves a Merchant Center account's pubsub notification settings.

update

Register a Merchant Center account for pubsub notifications.