Method: giftcardclass.patch
Belirtilen sınıf kimliğinin belirttiği hediye kartı sınıfını günceller. Bu yöntem yama semantiğini destekler.
HTTP isteği
PATCH 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
Bir sınıfın benzersiz tanımlayıcısıdır. Bu kimlik, kartı veren kuruluşun tüm sınıflarında benzersiz olmalıdır. Bu değer issuer ID biçiminde olmalıdır.identifier: İlk sertifika Google tarafından verilir, ikincisini siz seçersiniz. Benzersiz tanımlayıcınız yalnızca alfanümerik karakterler, '.', '_' veya '-' 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: 2025-03-13 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-13 UTC."],[[["Updates the gift card class identified by the provided class ID, using patch semantics for partial updates."],["The request should be a `PATCH` request to the specified URL, including the class ID as a path parameter."],["The request body must contain a `GiftCardClass` object representing the updates to be applied."],["A successful response will return the updated `GiftCardClass` object."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core action is updating a gift card class using a `PATCH` request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}`. The `resourceId` path parameter uniquely identifies the class. The request body includes a `GiftCardClass` instance, while a successful response also returns a `GiftCardClass` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` must be unique and follow a defined format.\n"]]