تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
صمّمنا Merchant API ليكون مألوفًا لمطوّري Content API for Shopping،
ولكنّه أبسط وأكثر مرونة. في ما يلي بعض المعلومات التفصيلية حول تصميم Merchant API.
واجهات برمجة التطبيقات الفرعية
Merchant API هي مجموعة من واجهات برمجة التطبيقات الفرعية. واجهات برمجة التطبيقات الفرعية هي مجموعات من الخدمات والموارد ذات الصلة. يعني هذا التصميم أنّه يمكنك اختيار استخدام واجهات برمجة التطبيقات الفرعية اللازمة لعملية الدمج الفريدة فقط.
تتضمّن Merchant API واجهات برمجة التطبيقات الفرعية التالية:
الحسابات: يمكنك إدارة حسابات Merchant Center على نطاق واسع.
المنتجات: لإدارة بيانات المنتجات، مثل السعر والتوفّر
مصادر البيانات: يمكنك عرض مصادر البيانات الخاصة بمنتجاتك وإدارتها.
المستودعات: يمكنك عرض منتجاتك حسب المتجر أو المنطقة على Google.
التقارير: يمكنك الاطّلاع على بيانات حول منتجاتك وأدائها والمشهد التنافسي على Google.
العروض الترويجية: يمكنك إنشاء عروض ترويجية وإدارتها لعرض عروض خاصة على منتجاتك.
قد تعرض حقول التعداد في Merchant API قيمًا جديدة في المستقبل. يجب أن يكون الرمز البرمجي منظَّمًا بطريقة تتيح له التعامل مع القيم غير المعروفة بسلاسة. عليك مراقبة حدوث قيم تعداد غير معروفة والتدخّل للحفاظ على تحديث الرمز.
تحديد الإصدار
يتم تحديد إصدارات واجهات برمجة التطبيقات الفرعية بشكل منفصل. ويعني ذلك أنّه ليس عليك اتّخاذ أي إجراء إذا عدّلنا واجهة برمجة تطبيقات فرعية لا تستخدمها. ما عليك سوى تعديل الرمز البرمجي عند إصدار إصدارات جديدة من واجهات برمجة التطبيقات الفرعية التي تستخدمها. لمزيد من المعلومات، يُرجى الاطّلاع على
تحديد الإصدار.
إنّ الإصدارات التي تنتهي بكلمة "تجريبي" عرضة للتغيير أو الإزالة.
تاريخ التعديل الأخير: 2025-08-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Merchant API offers a collection of sub-APIs for managing various aspects of your online product data and presence on Google, including accounts, products, inventory, and reports.\u003c/p\u003e\n"],["\u003cp\u003eIt's designed for flexibility, allowing developers to choose and use only the specific sub-APIs relevant to their needs.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports both gRPC and REST transport mechanisms and features independent versioning for each sub-API, minimizing the impact of updates on existing integrations.\u003c/p\u003e\n"],["\u003cp\u003eAlthough in beta and subject to change, Google provides at least 30 days' notice for breaking changes, ensuring developers have ample time to adapt.\u003c/p\u003e\n"],["\u003cp\u003eThe Merchant API shares similarities with the Content API for Shopping but aims to provide a simpler and more adaptable development experience.\u003c/p\u003e\n"]]],[],null,["# Merchant API design\n\nWe designed Merchant API to be familiar to Content API for Shopping developers,\nyet simpler and more flexible. Here's some detailed information on the design of\nMerchant API.\n\nSub-APIs\n--------\n\nMerchant API is a collection of sub-APIs. The sub-APIs are groups of related\nservices and resources. This design means you can choose to use only the\nsub-APIs needed for your unique integration.\n\nMerchant API includes the following sub-APIs:\n\n- **[Accounts](/merchant/api/guides/accounts/overview)**: Manage Merchant Center accounts at scale.\n- **[Products](/merchant/api/guides/products/overview)**: Manage product data, like price and availability.\n- **[Data sources](/merchant/api/guides/data-sources/overview)**: View and manage the data sources for your products.\n- **[Inventories](/merchant/api/guides/inventories/overview):** Showcase your products by store or region on Google.\n- **[Reports](/merchant/api/guides/reports/overview):** View data on your products, performance, and competitive landscape across Google.\n- **[Promotions](/merchant/api/guides/promotions/overview)**: Create and manage promotions to showcase special offers for your products.\n- **[Local feeds\n partnership](/merchant/api/guides/local-feeds-partnership/overview)**: Upload your local product inventory feed.\n- **[Conversion sources](/merchant/api/guides/conversion-sources/overview)**: Manage conversion sources for your account.\n- **[Notifications](/merchant/api/guides/accounts/notifications)**: Manage notification subscriptions.\n- **[Quota](/merchant/api/reference/rest/quota_v1/accounts.quotas)**: Check the API quota of your accounts.\n\nTransport\n---------\n\nMerchant API's default transport mechanism is [gRPC](//grpc.io/docs/guides/).\nYou can also use\n[REST](//en.wikipedia.org/wiki/Representational_state_transfer).\n\nSee the [quickstart guide](/merchant/api/guides/quickstart#use_grpc_or_rest) for\nmore information.\n\nEnums\n-----\n\nEnum fields across Merchant API might be exposing new values in the future. Your\ncode should be structured in such a way that it can handle unrecognized values\ngracefully. You should monitor the occurrence of unrecognized enum values and\nintervene to keep the code up to date.\n\nVersioning\n----------\n\nSub-APIs are versioned separately. This means you don't need to do anything if\nwe update a sub-API that you don't use. You only need to update your code when\nnew versions of the sub-APIs you use are released. For more information, see\n[Versioning](/merchant/api/guides/versioning).\n\nVersions that end in \"beta\" are subject to change or removal.\n| **Note:** During the Merchant API beta, we might make breaking changes without updating the major version. We'll give at least 30 days of notice before making a breaking change. For the duration of the beta, all sub-APIs will remain on v1beta."]]