---
title: "PUT /{merchantId}/pubsubnotificationsettings"
method: PUT
path: "/{merchantId}/pubsubnotificationsettings"
tags: ["pubsubnotificationsettings"]
---

# PUT /{merchantId}/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.

## Path parameters

- `merchantId` string, required

## Request body

- PubsubNotificationSettings — Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.
  - `cloudTopicName` string — Cloud pub/sub topic to which notifications are sent (read-only).
  - `registeredEvents` string[] — List of event types. Acceptable values are: - "`orderPendingShipment`"
  - `kind` string — Identifies what kind of resource this is. Value: the fixed string "`content#pubsubNotificationSettings`"

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/revisions/1033388fc86f/schema)
