Method: accounts.relationships.list

List account relationships for the specified account.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent account of the account relationship to filter by.

Query parameters

Parameters
pageToken

string

Optional. The token returned by the previous list request.

pageSize

integer

Optional. The maximum number of elements to return in the response. Use for paging. If no pageSize is specified, 100 is used as the default value. The maximum allowed value is 1000.

Request body

The request body must be empty.

Response body

Response after trying to list account relationships.

If successful, the response body contains data with the following structure:

JSON representation
{
  "accountRelationships": [
    {
      object (AccountRelationship)
    }
  ],
  "nextPageToken": string
}
Fields
accountRelationships[]

object (AccountRelationship)

The account relationships that match your filter.

nextPageToken

string

A page token. You can send the pageToken to get the next page. Only included in the list response if there are more pages.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.