Trova il nome della risorsa del tuo account concatenando accounts/ e il tuo
merchantId. Puoi trovare il tuo merchantId nella parte superiore di
Google Merchant Center.
Inserisci il nome della risorsa del tuo account nel campo parent.
Nella sezione Credenziali, seleziona Google OAuth 2.0 e chiave API.
Fai clic su Esegui.
Se richiesto, accedi con l'Account Google associato al tuo account Google Merchant Center.
Se il tuo account Merchant Center è configurato correttamente, la richiesta va a buon fine e viene restituito un codice di risposta HTTP 200. Se hai appena creato un nuovo account, il metodoaccounts.products.list non restituisce alcun prodotto.
Successivamente, prova a utilizzare una libreria client per richiedere l'accesso ad altri account Merchant Center. Le librerie client supportano l'autorizzazione
dell'utente, che concede a un'applicazione l'autorizzazione per accedere e gestire
i dati dell'account Merchant Center.
Puoi anche utilizzare un account di servizio per autorizzare l'accesso all'API al tuo account. Un account di servizio è un tipo speciale di account
che appartiene a un'applicazione anziché a un singolo utente finale. Per ulteriori informazioni, consulta la Panoramica dei service account.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["Existing merchant account holders can use the API explorer to verify their account's compatibility with the Merchant API."],["Account verification involves locating your `merchantId`, constructing the resource name, and executing the `accounts.products.list` method within the API Explorer using your credentials."],["Successful verification is indicated by an HTTP response code `200`, although new accounts may not return any product data."],["After verification, users can proceed to utilize client libraries for accessing other merchant accounts or employ service accounts for authorizing API access to their own account."]]],["To verify a merchant account for API use, locate your `merchantId` in Google Merchant Center and construct the account's resource name. In the API Explorer, use the `accounts.products.list` method, input the resource name in the `parent` field, and select Google OAuth 2.0 and API key credentials. Executing the request should return an HTTP 200 code, confirming successful setup. For new accounts, the product list will be empty. Further access can be configured via client libraries or service accounts.\n"]]