Method: accounts.products.get
استرداد المنتج الذي تمت معالجته من حسابك على Merchant Center
بعد إدخال بيانات منتج أو تعديلها أو حذفها، قد يستغرق استرداد المنتج النهائي المعدَّل عدة دقائق.
طلب HTTP
GET https://merchantapi.googleapis.com/products/v1beta/{name=accounts/*/products/*}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
name |
string
مطلوب. اسم المنتج الذي تريد استرجاعه. التنسيق: accounts/{account}/products/{product} حيث يتألّف القسم الأخير product من 4 أجزاء: channel~contentLanguage~feedLabel~offerId، على سبيل المثال، اسم المنتج هو "accounts/123/products/online~en~US~sku123".
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Product
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/content
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Retrieves a specific product from your Merchant Center account using its unique identifier."],["The product identifier is constructed using the channel, content language, feed label, and offer ID."],["It may take several minutes for product updates to be reflected in the retrieval results."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document details retrieving a processed product from a Merchant Center account via a `GET` HTTP request. The URL utilizes gRPC Transcoding syntax and requires a `name` path parameter specifying the product in the format `accounts/{account}/products/{product}`. The request body must be empty. A successful response returns a `Product` instance. Access necessitates the `https://www.googleapis.com/auth/content` OAuth scope. Note that product updates may take minutes to reflect in retrieval.\n"]]