Method: pubsubnotificationsettings.get
Retrieves a Merchant Center account's pubsub notification settings.
HTTP request
GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pubsubnotificationsettings
Path parameters
Parameters |
merchantId |
string
The ID of the account for which to get pubsub notification settings.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PubsubNotificationSettings
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["Retrieves a Merchant Center account's pubsub notification settings using a GET request."],["Requires the Merchant Center Account ID as a path parameter."],["An empty request body is necessary, and the response provides the PubsubNotificationSettings if successful."],["Authorization is required with the `https://www.googleapis.com/auth/content` scope."]]],["The core actions involve retrieving a Merchant Center account's pubsub notification settings via a `GET` HTTP request. The request URL uses the `merchantId` as a path parameter. The request body must be empty. A successful response contains an instance of `PubsubNotificationSettings`. This operation requires authorization through the `https://www.googleapis.com/auth/content` OAuth scope. There is an interactive option for users to try this method.\n"]]