Method: offerobject.insert
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি অফার অবজেক্ট সন্নিবেশ করান।
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/offerObject
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে OfferObject
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে OfferObject
এর একটি নতুন তৈরি ইনস্ট্যান্স থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Inserts an offer object with a given ID and properties using an HTTP POST request."],["The request body should contain an `OfferObject` and authorization requires the `wallet_object.issuer` scope."],["A successful response returns the newly created `OfferObject`."]]],["A `POST` request is made to `https://walletobjects.googleapis.com/walletobjects/v1/offerObject` to insert an offer object. The request body must include an `OfferObject` instance. Upon a successful request, a newly created `OfferObject` instance is returned in the response body. This process utilizes gRPC Transcoding and requires the OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` for authorization.\n"]]