Method: loyaltyclass.insert
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি আনুগত্য শ্রেণী সন্নিবেশ করান৷
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/loyaltyClass
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের মূল অংশে LoyaltyClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে LoyaltyClass
এর একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 loyalty class with the specified ID and properties using an HTTP POST request."],["The request body must contain a LoyaltyClass object with the desired properties for the new loyalty class."],["If successful, the API returns the newly created LoyaltyClass object in the response body."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope to access and modify loyalty class information."]]],[]]