Method: accounts.get

  • Retrieves a Merchant Center account using a GET request to a specified URL.

  • Requires an account path parameter to identify the specific account for retrieval.

  • An empty request body is required, and the response returns the Account object if successful.

  • Authorization is necessary using the https://www.googleapis.com/auth/content OAuth scope.

Retrieves an account from your Merchant Center account. After inserting, updating, or deleting an account, it may take several minutes before changes take effect.

HTTP request

GET https://merchantapi.googleapis.com/accounts/v1beta/{name=accounts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the account to retrieve. Format: accounts/{account}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.