Method: accounts.notificationsubscriptions.get
Recupera le iscrizioni alle notifiche per un account.
Richiesta HTTP
GET https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Il name dell'iscrizione alle notifiche.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di NotificationSubscription
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/content
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-23 UTC.
[null,null,["Ultimo aggiornamento 2025-01-23 UTC."],[[["Retrieves notification subscriptions for a specific Google Merchant Center account using a GET request."],["Requires specifying the account and notification subscription name in the URL path."],["An empty request body is necessary, and a successful response returns a `NotificationSubscription` object."],["Utilizes OAuth 2.0 for authorization and necessitates the `https://www.googleapis.com/auth/content` scope."]]],["The core content describes how to retrieve notification subscriptions for an account. A `GET` HTTP request is sent to a specific URL using gRPC Transcoding syntax. The URL requires a `name` path parameter, identifying the target subscription. The request body must be empty. A successful response will contain a `NotificationSubscription` instance. Authorization is required, specifically the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]