Migrate homepage management

You can use the Merchant API to claim and verify your homepage as a proof of ownership. Claiming your homepage lets you unlock features that require a verified website. For more information, see online store URL verification.

Request

To make requests, use the following URL.

POST https://merchantapi.googleapis.com/accounts/v1beta/accounts/{ACCOUNT_ID}/homepage:claim

Replace {ACCOUNT_ID} with the unique identifier of your Merchant Center account.

Here's a sample comparison of the Content API for Shopping to the Merchant Accounts API for account creation and management requests:

Content API Merchant API
URL https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/accounts/{ACCOUNT_ID}/claimwebsite https://merchantapi.googleapis.com/accounts/v1beta/{PARENT}{name=accounts/*/homepage}:claim
Identifiers {MERCHANT_ID},{ACCOUNT_ID} {NAME}

Migrate from Content API for Shopping

The following compares the Content API for Shopping to the accounts.homepage for homepage-related requests.

URL

What in the Content API for Shopping is

https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/accounts/{ACCOUNT_ID}/claimwebsite

in Merchant API becomes

https://merchantapi.googleapis.com/accounts/v1beta/accounts/{ACCOUNT_ID}/homepage:claim

Identifiers

What in the Content API for Shopping is

{MERCHANT_ID}/accounts/{ACCOUNT_ID}/claimwebsite

in Merchant API becomes

NAME=accounts/ACCOUNT_ID/homepage

Methods

The Merchant API supports the following methods for the homepage:

Here's a comparison of homepage method availability between Content API for Shopping and Merchant API.

Method Content API for Shopping Merchant API
claim Yes Yes
get No Yes
unclaim No Yes
update No Yes