Method: inappproducts.patch
تصحيح منتج داخل التطبيق (منتج مُدار أو اشتراك)
ويجب ألّا يتم استخدام هذه الطريقة بعد الآن لتعديل الاشتراكات. يُرجى الاطّلاع على هذه المقالة للحصول على مزيد من المعلومات.
طلب HTTP
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
packageName |
string
اسم حزمة التطبيق
|
sku |
string
معرّف فريد للمنتج داخل التطبيق
|
مَعلمات طلب البحث
المعلمات |
autoConvertMissingPrices |
boolean
إذا كانت القيمة "صحيحة"، سيتم تحويل أسعار جميع المناطق التي يستهدفها التطبيق الرئيسي والتي لا تتضمّن سعرًا محدّدًا لهذا المنتج داخل التطبيق تلقائيًا إلى العملة المستهدَفة استنادًا إلى السعر التلقائي. القيمة التلقائية هي false.
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
اختيارية: الحدّ المسموح به لوقت الاستجابة لنشر تحديث المنتج هذا. الإعداد التلقائي هو "حساسة لوقت الاستجابة".
|
نص الطلب
يحتوي نص الطلب على مثال InAppProduct
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال InAppProduct
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/androidpublisher
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-12-17 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-12-17 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This operation patches an in-app product, either a managed product or a subscription, within a specified app."],["It involves providing the package name and product's unique identifier (SKU) as path parameters."],["Developers can optionally control auto-conversion of missing prices and update propagation latency using query parameters."],["The request and successful response both utilize the `InAppProduct` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This API patches in-app products, including managed products and subscriptions, via a `PATCH` HTTP request to a specified URL. The URL requires the app's `packageName` and the product's `sku` as path parameters. Optional query parameters, `autoConvertMissingPrices` and `latencyTolerance`, are available. The request and response body use the `InAppProduct` instance. This process needs `https://www.googleapis.com/auth/androidpublisher` OAuth scope. Note that updating subscriptions through this method is deprecated.\n"]]