Stay organized with collections
Save and categorize content based on your preferences.
If you have an existing Merchant Center account, you can use Google APIs
Explorer in the reference documentation to verify
that your account is ready to use with the Merchant API.
Find the resource name of your account by concatenating accounts/ and your
merchantId. You can find your merchantId in the top of
Google Merchant Center.
Enter the resource name of your account in the parent field.
In the Credentials section, select Google OAuth 2.0 and API
key.
Click Execute.
If prompted, sign in with the Google Account associated with your Google
Merchant Center account.
If your Merchant Center account is set up correctly, the request succeeds and
returns an HTTP response code 200. If you just created a new account, the
accounts.products.list method doesn't return any products.
Next, try using a client library to request
access to other Merchant Center accounts. Client libraries support user
authorization, which grants an application permission to access and manage
Merchant Center account data.
You can also use a service
account to authorize
API access to your own account. A service account is a special type of account
that belongs to an application instead of an individual end user. For more
information, see Service accounts overview.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 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"]]