Merchant API v1beta dihentikan dan ditutup pada 28 Februari 2026. Untuk mengetahui langkah-langkah transisi ke versi stabil terbaru, lihat Bermigrasi dari v1beta ke v1.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Merepresentasikan langganan notifikasi yang dimiliki oleh akun Penjual.
Representasi JSON
{"name": string,"registeredEvent": enum (NotificationEventType),"callBackUri": string,// Union field interested_in can be only one of the following:"allManagedAccounts": boolean,"targetAccount": string// End of list of possible types for union field interested_in.}
Kolom
name
string
Hanya output. name konfigurasi notifikasi. Dibuat oleh Content API setelah pembuatan NotificationSubscription baru. account mewakili ID penjual dari penjual yang memiliki konfigurasi. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
Peristiwa yang ingin diberitahukan kepada penjual.
callBackUri
string
URL yang akan digunakan untuk mengirim notifikasi ke penjual.
Kolom union interested_in.
interested_in hanya dapat berupa salah satu dari hal berikut:
allManagedAccounts
boolean
Jika nilai ini benar, akun yang meminta akan diberi tahu tentang peristiwa yang ditentukan untuk semua akun terkelola (dapat berupa sub-akun atau akun tertaut lainnya) termasuk akun yang baru ditambahkan setiap hari.
targetAccount
string
name akun yang notifikasinya ingin Anda terima. Format: accounts/{account}
NotificationEventType
Merepresentasikan jenis peristiwa yang notifikasinya ingin diterima penjual.
Enum
NOTIFICATION_EVENT_TYPE_UNSPECIFIED
Jenis peristiwa notifikasi tidak ditentukan.
PRODUCT_STATUS_CHANGE
Notifikasi perubahan status produk, misalnya saat produk tidak disetujui.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-11-24 UTC."],[],["Merchants can create `NotificationSubscription` resources to receive updates about specific events. Each subscription includes a `name`, a `registeredEvent` (e.g., `PRODUCT_STATUS_CHANGE`), and a `callBackUri` for notification delivery. Merchants can specify if they want to receive events regarding `allManagedAccounts` or a `targetAccount`. Available methods include `create`, `delete`, `get`, `list`, and `patch` for managing these subscriptions. Notification event type can be `PRODUCT_STATUS_CHANGE` or `NOTIFICATION_EVENT_TYPE_UNSPECIFIED`.\n"]]