Method: accountstatuses.get

  • Retrieves the status of a Merchant Center account, providing information about its current state.

  • Allows retrieval of account status for both managing and sub-accounts, including filtering by specific destinations.

  • Requires authorization with the https://www.googleapis.com/auth/content scope for access.

  • Returns an AccountStatus object containing detailed information about the account's status upon successful request.

  • No request body is needed, simply utilize the provided HTTP request with the necessary path and query parameters.

Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.

HTTP request

GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/accountstatuses/{accountId}

Path parameters

Parameters
merchantId

string

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

accountId

string

The ID of the account.

Query parameters

Parameters
destinations[]

string

If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.