Method: accounts.notificationsubscriptions.patch
Memperbarui langganan notifikasi yang ada untuk penjual.
Permintaan HTTP
PATCH https://merchantapi.googleapis.com/notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
notificationSubscription.name |
string
Hanya output. name konfigurasi notifikasi. Dibuat oleh Content API saat membuat NotificationSubscription baru. account mewakili ID penjual dari penjual yang memiliki konfigurasi. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Daftar kolom yang diperbarui.
|
Isi permintaan
Isi permintaan memuat instance NotificationSubscription
.
Isi respons
Jika berhasil, isi respons memuat instance NotificationSubscription
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
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 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-23 UTC."],[[["This operation updates an existing notification subscription for a merchant using a `PATCH` request to a specified URL."],["The request requires path and query parameters, including the notification subscription name and an update mask."],["Both the request and response bodies utilize the `NotificationSubscription` object to manage subscription details."],["Authorization is necessary using the `https://www.googleapis.com/auth/content` OAuth scope."]]],[]]