Method: offerobject.patch
Memperbarui objek penawaran yang dirujuk oleh ID objek yang diberikan. Metode ini mendukung semantik patch.
Permintaan HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
resourceId |
string
ID unik untuk objek. ID ini harus unik di semua objek dari penerbit. Nilai ini harus mengikuti format issuer ID.identifier yang pertama diterbitkan oleh Google, dan yang kedua dipilih oleh Anda. ID unik Anda hanya boleh berisi karakter alfanumerik, '.', '_', atau '-'.
|
Isi permintaan
Isi permintaan memuat instance OfferObject
.
Isi respons
Jika berhasil, isi respons memuat instance OfferObject
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/wallet_object.issuer
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-07 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-07 UTC."],[[["Updates an existing offer object using patch semantics, allowing for partial modifications."],["The request must target a specific offer object using its unique resource ID in the URL path."],["The request body should contain the desired changes to the offer object, adhering to the OfferObject schema."],["Upon successful execution, the response provides the updated OfferObject."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],[]]