Version v2 of the Content API is scheduled for sunset on September 30th, 2021. Onboarding to v2 will stop on April 30, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible.

For more information, see Migrating to v2.1 and this blog post.

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.