Method: inappproducts.insert
একটি অ্যাপ-মধ্যস্থ পণ্য (একটি পরিচালিত পণ্য বা একটি সদস্যতা) তৈরি করে।
সাবস্ক্রিপশন তৈরি করতে এই পদ্ধতিটি আর ব্যবহার করা উচিত নয়। আরো তথ্যের জন্য এই নিবন্ধটি দেখুন.
HTTP অনুরোধ
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
package Name | string অ্যাপের প্যাকেজের নাম। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
auto Convert Missing Prices | boolean এই অ্যাপ-মধ্যস্থ পণ্যের জন্য নির্দিষ্ট কোনো মূল্য নেই এমন প্যারেন্ট অ্যাপ দ্বারা লক্ষ্য করা সমস্ত অঞ্চলের দাম সত্য হলে ডিফল্ট মূল্যের উপর ভিত্তি করে লক্ষ্য মুদ্রায় স্বয়ংক্রিয়ভাবে রূপান্তরিত হবে। ডিফল্ট থেকে মিথ্যা. |
শরীরের অনুরোধ
অনুরোধের মূল অংশে InAppProduct
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে InAppProduct
এর একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-12-18 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-12-18 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Creates an in-app product, such as a managed product or a subscription, within a specified app."],["This method is deprecated for subscription creation; refer to the provided article for alternative approaches."],["The request utilizes an HTTP POST to a structured URL including the package name and optional query parameters for price conversion."],["Request and response bodies utilize the `InAppProduct` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of creating an in-app product using the Android Publisher API. A `POST` request is sent to a specific URL containing the app's package name. The request body includes `InAppProduct` data. The request can include a boolean query parameter, `autoConvertMissingPrices`, to manage regional pricing. The response, upon success, returns the newly created `InAppProduct`. Authorization requires the `androidpublisher` OAuth scope. This method is deprecated for subscriptions.\n"]]