REST Resource: pubsubnotificationsettings

  • PubsubNotificationSettings allows you to configure Pub/Sub notifications for your Merchant Center account, requiring direct user access.

  • These settings define where notifications are sent ( cloudTopicName ) and which events trigger them ( registeredEvents ).

  • You can retrieve existing notification settings using the get method and register or update them with the update method.

  • The orderPendingShipment event is a supported event type for triggering notifications.

  • The JSON representation of PubsubNotificationSettings includes kind , cloudTopicName , and registeredEvents fields.

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

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.
Design a Mobile Site
View Site in Mobile | Classic
Share by: