Method: monetization.onetimeproducts.purchaseOptions.offers.batchDelete
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এক বা একাধিক এককালীন পণ্য অফার মুছে দেয়।
HTTP অনুরোধ
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
packageName | string প্রয়োজন। অফারগুলির মূল অ্যাপ (প্যাকেজের নাম) মুছে ফেলতে হবে। সমস্ত OneTimeProductOffer সংস্থানগুলিতে প্যাকেজনাম ক্ষেত্রের সমান হতে হবে৷ |
productId | string প্রয়োজন। অভিভাবক এককালীন পণ্যের পণ্য আইডি, যদি মুছে ফেলার সমস্ত অফার একই পণ্যের অন্তর্গত হয়। যদি এই অনুরোধটি একাধিক এক-সময়ের পণ্যগুলিকে বিস্তৃত করে, এই ক্ষেত্রটিকে "-" এ সেট করুন। |
purchaseOptionId | string প্রয়োজন। অভিভাবক কেনাকাটার বিকল্প (আইডি) যার জন্য অফারগুলি মুছে ফেলা উচিত। একাধিক ক্রয় বিকল্প থেকে অফার আপডেট করতে '-' হিসাবে নির্দিষ্ট করা যেতে পারে। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
ক্ষেত্র |
---|
requests[] | object ( DeleteOneTimeProductOfferRequest ) প্রয়োজন। 100টি উপাদান পর্যন্ত আপডেট অনুরোধের একটি তালিকা। সমস্ত অনুরোধ বিভিন্ন অফার সঙ্গতিপূর্ণ হতে হবে. |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি একটি খালি JSON অবজেক্ট।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
DeleteOneTimeProductOfferRequest
একটি এককালীন পণ্য অফার মুছে ফেলার জন্য অনুরোধ বার্তা.
JSON প্রতিনিধিত্ব |
---|
{
"packageName": string,
"productId": string,
"purchaseOptionId": string,
"offerId": string,
"latencyTolerance": enum (ProductUpdateLatencyTolerance )
} |
ক্ষেত্র |
---|
packageName | string প্রয়োজন। অফারটির মূল অ্যাপ (প্যাকেজের নাম) মুছে ফেলতে হবে। |
productId | string প্রয়োজন। অফারটির মূল এককালীন পণ্য (আইডি) মুছে ফেলতে হবে। |
purchaseOptionId | string প্রয়োজন। অফারটির অভিভাবক ক্রয় বিকল্প (আইডি) মুছে ফেলতে হবে। |
offerId | string প্রয়োজন। অফারটির অনন্য অফার আইডি মুছে ফেলতে হবে। |
latencyTolerance | enum ( ProductUpdateLatencyTolerance ) ঐচ্ছিক। এই পণ্য আপডেটের প্রচারের জন্য বিলম্ব সহনশীলতা। লেটেন্সি-সংবেদনশীল থেকে ডিফল্ট। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: monetization.onetimeproducts.purchaseOptions.offers.batchDelete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [DeleteOneTimeProductOfferRequest](#DeleteOneTimeProductOfferRequest)\n - [JSON representation](#DeleteOneTimeProductOfferRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nDeletes one or more one-time product offers.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. The parent app (package name) of the offers to delete. Must be equal to the packageName field on all the OneTimeProductOffer resources. |\n| `productId` | `string` Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to \"-\". |\n| `purchaseOptionId` | `string` Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to update offers from multiple purchase options. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/android-publisher/api-ref/rest/v3/monetization.onetimeproducts.purchaseOptions.offers/batchDelete#DeleteOneTimeProductOfferRequest) } ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[DeleteOneTimeProductOfferRequest](/android-publisher/api-ref/rest/v3/monetization.onetimeproducts.purchaseOptions.offers/batchDelete#DeleteOneTimeProductOfferRequest)`)` Required. A list of update requests of up to 100 elements. All requests must correspond to different offers. |\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`\n\nDeleteOneTimeProductOfferRequest\n--------------------------------\n\nRequest message for deleting an one-time product offer.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"packageName\": string, \"productId\": string, \"purchaseOptionId\": string, \"offerId\": string, \"latencyTolerance\": enum (/android-publisher/api-ref/rest/v3/ProductUpdateLatencyTolerance) } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. The parent app (package name) of the offer to delete. |\n| `productId` | `string` Required. The parent one-time product (ID) of the offer to delete. |\n| `purchaseOptionId` | `string` Required. The parent purchase option (ID) of the offer to delete. |\n| `offerId` | `string` Required. The unique offer ID of the offer to delete. |\n| `latencyTolerance` | `enum (`[ProductUpdateLatencyTolerance](/android-publisher/api-ref/rest/v3/ProductUpdateLatencyTolerance)`)` Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. |"]]