Merchant API overview

You can use the Merchant API to reach more customers and showcase your products across Google. The Merchant API is used for managing large or complex Merchant Center accounts. Some typical use cases include:

  • Automated account management
  • Automated product management
  • Automated inventory management
  • Custom reporting

The Merchant API is a redesign of the Content API for Shopping.

Here are some reasons to upgrade to the Merchant API:

See Get started and Content API for Shopping compatibility for more information on compatibility. Follow the guides in the left navigation menu to try some of the Merchant API's key features, and see the reference documentation for complete details of all available resources and services.

Merchants are responsible for complying with the Shopping ads and free listings policies. Google Shopping reserves the right to enforce these policies and respond appropriately if we find content or behavior that violates these policies.

Prerequisites

To make a Merchant API call, you should have the following details. The rest of this tutorial teaches you how to obtain each of these items.

  • Merchant Center account: This is the account you're making API calls against. You need necessary permissions to operate on this account, such as managing products or inventories.

You will also need the resource name of the Merchant Center account. You can get this by concatenating accounts/ and your Merchant Center account ID. The Merchant Center account ID is displayed in the Merchant Center web interface.

  • Google Console project: The project is used for getting API access to your account. There are 2 options available

    • You can generate an OAuth 2.0 client ID and secret for your app. The ID and secret can then be used to generate the OAuth 2.0 credentials needed in API calls to the Merchant Center account.
    • You can create a service account and download its private key to make API calls.