Method: offerobject.update
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্রদত্ত অবজেক্ট আইডি দ্বারা উল্লেখ করা অফার অবজেক্ট আপডেট করে।
HTTP অনুরোধ
PUT https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resourceId | string একটি বস্তুর অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই একটি ইস্যুকারীর সমস্ত বস্তু জুড়ে অনন্য হতে হবে। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি আপনার দ্বারা বেছে নেওয়া হয়৷ আপনার অনন্য শনাক্তকারীতে শুধুমাত্র বর্ণসংখ্যার অক্ষর, '.', '_', বা '-' অন্তর্ভুক্ত করা উচিত। |
শরীরের অনুরোধ
অনুরোধের অংশে 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 এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eUpdates an existing offer object using its unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe request must use the \u003ccode\u003ePUT\u003c/code\u003e method and provide the offer object's details in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe offer object's ID should follow the format: \u003cvar translate=no\u003eissuer ID\u003c/var\u003e.\u003cvar translate=no\u003eidentifier\u003c/var\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the updated offer object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This describes how to update an offer object using a PUT request. The request URL is structured using gRPC Transcoding, including a `resourceId` path parameter, a unique identifier composed of an issuer ID and a custom identifier. The request body contains an `OfferObject` instance. A successful response returns an updated `OfferObject`. The operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates the offer object referenced by the given object ID.\n\nHTTP request\n\n`PUT https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resourceId` | `string` The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. |\n\nRequest body\n\nThe request body contains an instance of [OfferObject](/wallet/reference/rest/v1/offerobject#OfferObject).\n\nResponse body\n\nIf successful, the response body contains an instance of [OfferObject](/wallet/reference/rest/v1/offerobject#OfferObject).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]