AI-generated Key Takeaways
-
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 theupdate
method. -
The
orderPendingShipment
event is a supported event type for triggering notifications. -
The JSON representation of PubsubNotificationSettings includes
kind
,cloudTopicName
, andregisteredEvents
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 |
Identifies what kind of resource this is. Value: the fixed string " |
cloudTopicName |
Cloud pub/sub topic to which notifications are sent (read-only). |
registeredEvents[] |
List of event types. Acceptable values are:
|
Methods |
|
---|---|
|
Retrieves a Merchant Center account's pubsub notification settings. |
|
Register a Merchant Center account for pubsub notifications. |