Accounts: claimwebsite

Requires authorization

Claims the website of a Merchant Center sub-account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. Try it now.

Request

HTTP request

POST https://www.googleapis.com/content/v2/merchantId/accounts/accountId/claimwebsite

Parameters

Parameter name Value Description
Path parameters
accountId unsigned long The ID of the account whose website is claimed.
merchantId unsigned long The ID of the managing account.
Optional query parameters
overwrite boolean Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "content#accountsClaimWebsiteResponse"
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#accountsClaimWebsiteResponse".

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Content API for Shopping