pubsubnotificationsettings

PUT /{merchantId}/pubsubnotificationsettings

Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't be provided as part of the request.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

merchantIdstring required

The ID of the account.

Request body

cloudTopicNamestring

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

registeredEventsstring[]

List of event types. Acceptable values are: - "orderPendingShipment"

kindstring

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

Response

Successful response

cloudTopicNamestring

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

registeredEventsstring[]

List of event types. Acceptable values are: - "orderPendingShipment"

kindstring

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

Changes

No recorded changes to this operation across all 1 revision of this API.