Method: accounts.services.list

List account services for the specified accounts. Supports filtering.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent account of the account service 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 services.

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

JSON representation
{
  "accountServices": [
    {
      object (AccountService)
    }
  ],
  "nextPageToken": string
}
Fields
accountServices[]

object (AccountService)

The account services 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.