Method: giftcardobject.update
指定されたオブジェクト ID のギフトカード オブジェクトを更新します。
HTTP リクエスト
PUT https://walletobjects.googleapis.com/walletobjects/v1/giftCardObject/{resourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
オブジェクトの一意の識別子。この ID は、発行者のすべてのオブジェクトで一意である必要があります。この値は issuer ID の形式にする必要があります。identifier。前者は Google が発行し、後者は貴社が選択します。一意の識別子には、英数字、「.」、「_」、「-」のみを使用してください。
|
リクエスト本文
リクエストの本文には GiftCardObject
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には GiftCardObject
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 UTC。"],[[["Updates a specific gift card object using its unique identifier."],["Requires a `PUT` request to the specified URL with the updated gift card object data in the request body."],["The URL includes a path parameter `resourceId` representing the gift card object's unique identifier."],["A successful request returns the updated gift card object in the response body."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes how to update a gift card object using a PUT request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/giftCardObject/{resourceId}`. The `resourceId` in the URL's path is a unique identifier consisting of an issuer ID and a user-chosen identifier. The request body requires a `GiftCardObject` instance. Upon successful execution, the response body will also return a `GiftCardObject`. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]