Method: loyaltyobject.update
প্রদত্ত অবজেক্ট আইডি দ্বারা উল্লেখিত আনুগত্য বস্তু আপডেট করে।
HTTP অনুরোধ
PUT https://walletobjects.googleapis.com/walletobjects/v1/loyaltyObject/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resourceId | string একটি বস্তুর অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই একটি ইস্যুকারীর সমস্ত বস্তু জুড়ে অনন্য হতে হবে। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি আপনার দ্বারা বেছে নেওয়া হয়৷ আপনার অনন্য শনাক্তকারীতে শুধুমাত্র বর্ণসংখ্যার অক্ষর, '.', '_', বা '-' অন্তর্ভুক্ত করা উচিত। |
শরীরের অনুরোধ
অনুরোধের অংশে LoyaltyObject
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে LoyaltyObject
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This document explains how to update a loyalty object using the Google Wallet API."],["You'll need to use a `PUT` request to the specified URL, including the object's unique identifier."],["The request body should contain the updated loyalty object data in JSON format according to the `LoyaltyObject` schema."],["A successful response will return the updated `LoyaltyObject`."],["You must have the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope to authorize this request."]]],["This describes how to update a loyalty object using a PUT request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/loyaltyObject/{resourceId}`, where `resourceId` uniquely identifies the object. The request body must contain a `LoyaltyObject` instance. The response body will also be a `LoyaltyObject` upon success. This action requires `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization. The `resourceId` should follow the format \u003cvar\u003eissuer ID\u003c/var\u003e.\u003cvar\u003eidentifier\u003c/var\u003e.\n"]]