Method: giftcardclass.update
Belirtilen sınıf kimliğinin referans verdiği hediye kartı sınıfını günceller.
HTTP isteği
PUT https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string
Sınıfın benzersiz tanımlayıcısı. Bu kimlik, bir kartı veren kuruluşa ait tüm sınıflarda benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier burada Google tarafından verilir, ikincisi ise sizin tarafınızdan seçilir. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, ".", "_" veya "-" işaretlerini içermelidir.
|
İstek içeriği
İstek metni, GiftCardClass
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, GiftCardClass
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/wallet_object.issuer
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-04 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-04 UTC."],[[["Updates the gift card class identified by a unique class ID."],["Uses a PUT HTTP request to `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}` to update the class."],["Requires a request body containing an instance of `GiftCardClass` and the class ID as a path parameter."],["On success, returns the updated `GiftCardClass` 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 class using a PUT request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}`. The `resourceId` in the path must be a unique string identifier with the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body must contain a `GiftCardClass` instance, and upon successful update, the response body will also contain a `GiftCardClass` instance. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]