Method: accounts.products.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे Manufacturer Center खाते में मौजूद सभी प्रॉडक्ट की सूची मिलती है.
एचटीटीपी अनुरोध
GET https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products
यह यूआरएल, 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 Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-17 (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)."]]