Method: giftcardclass.insert
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি উপহার কার্ড ক্লাস সন্নিবেশ করান৷
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের মূল অংশে GiftCardClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে GiftCardClass
এর একটি সদ্য তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 a new gift card class with the specified ID and properties using a POST request."],["The request body must contain a GiftCardClass object defining the class properties."],["A successful response returns the newly created GiftCardClass object."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."]]],["A gift card class is created via a POST request to `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass`. The request body must include a `GiftCardClass` instance. A successful request returns a newly created `GiftCardClass` instance in the response body. This action requires the OAuth scope: `https://www.googleapis.com/auth/wallet_object.issuer`. The URL uses gRPC Transcoding syntax.\n"]]