Accountstatuses: list

Requires authorization

Lists the statuses of the sub-accounts in your Merchant Center account. Try it now.

Request

HTTP request

GET https://www.googleapis.com/content/v2/merchantId/accountstatuses

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The ID of the managing account. This must be a multi-client account.
Optional query parameters
maxResults unsigned integer The maximum number of account statuses to return in the response, used for paging.
pageToken string The token returned by the previous request.

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:

JSON

{
  "kind": "content#accountstatusesListResponse",
  "nextPageToken": string,
  "resources": [
    accountstatuses Resource
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesListResponse".
nextPageToken string The token for the retrieval of the next page of account statuses.
resources[] list

XML

<account_statuses>
  <next_page_token>
    string
  </next_page_token>
  (foreach)
    accountstatuses Resource
  (/foreach)
</account_statuses>
Property name Value Description Notes
account_statuses object
account_statuses/next_page_token string The token for the retrieval of the next page of account statuses.
account_statuses/account_status nested object The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.

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