Method: accounts.products.list
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Перечисляет все продукты в учетной записи Manufacturer Center.
HTTP-запрос
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products
URL использует синтаксис перекодировки gRPC .
Параметры пути
Параметры |
---|
parent | string Идентификатор родителя в формате accounts/{account_id} . account_id — идентификатор учетной записи Manufacturer Center. |
Параметры запроса
Параметры |
---|
pageSize | integer Максимальное количество статусов продукта, возвращаемых в ответе, используется для пагинации. |
pageToken | string Токен, возвращенный предыдущим запросом. |
include[] | enum ( ProductSection ) Информация, которая должна быть включена в ответ. Будут возвращены только перечисленные здесь разделы. |
Текст запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит данные со следующей структурой:
JSON-представление |
---|
{
"products": [
{
object (Product )
}
],
"nextPageToken": string
} |
Поля |
---|
products[] | object ( Product ) Список продукции. |
nextPageToken | string Токен для получения следующей страницы статусов продуктов. |
Области авторизации
Требуется следующая область OAuth:
-
https://www.googleapis.com/auth/manufacturercenter
Для получения более подробной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-14 UTC.
[null,null,["Последнее обновление: 2025-08-14 UTC."],[[["\u003cp\u003eLists all products within a specified Manufacturer Center account.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by product information sections and pagination for large datasets.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/manufacturercenter\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of products and a token for retrieving subsequent pages if available.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.products.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.ListProductsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all the products in a Manufacturer Center account.\n\n### HTTP request\n\n`GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Maximum number of product statuses to return in the response, used for paging. |\n| `pageToken` | `string` The token returned by the previous request. |\n| `include[]` | `enum (`[ProductSection](/manufacturers/reference/rest/v1/ProductSection)`)` The information to be included in the response. Only sections listed here will be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ``` { \"products\": [ { object (/manufacturers/reference/rest/v1/Product) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------|\n| `products[]` | `object (`[Product](/manufacturers/reference/rest/v1/Product)`)` List of the products. |\n| `nextPageToken` | `string` The token for the retrieval of the next page of product statuses. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/manufacturercenter`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]