We will sunset v2 of the Content API on March 29th, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible. For more information, see Migrating to v2.1.

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.