Method: accounts.services.list
Stay organized with collections
Save and categorize content based on your preferences.
List account services for the specified accounts. Supports filtering.
HTTP request
GET https://merchantapi.googleapis.com/accounts/v1/{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. Format: accounts/{account}
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-31 UTC.
[null,null,["Last updated 2025-07-31 UTC."],[],[],null,["# Method: accounts.services.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListAccountServicesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList account services for the specified accounts. Supports filtering.\n\n### HTTP request\n\n`GET https://merchantapi.googleapis.com/accounts/v1/{parent=accounts/*}/services`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent account of the account service to filter by. Format: `accounts/{account}` |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageToken` | `string` Optional. The token returned by the previous `list` request. |\n| `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`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse after trying to list account services.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"accountServices\": [ { object (/merchant/api/reference/rest/accounts_v1/accounts.services#AccountService) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountServices[]` | `object (`[AccountService](/merchant/api/reference/rest/accounts_v1/accounts.services#AccountService)`)` The account services that match your filter. |\n| `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. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]