Method: offerobject.update
Memperbarui objek penawaran yang dirujuk oleh ID objek yang diberikan.
Permintaan HTTP
PUT 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 dengan yang pertama diterbitkan oleh Google dan yang kedua dipilih oleh Anda. ID unik Anda hanya boleh menyertakan 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 its unique identifier."],["The request must use the `PUT` method and provide the offer object's details in the request body."],["The offer object's ID should follow the format: \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e."],["Successful requests will return the updated offer object in the response body."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],[]]