Stellt ein Benachrichtigungsabo dar, das einem Händlerkonto gehört.
JSON-Darstellung
{"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.}
Felder
name
string
Nur Ausgabe. Die name der Benachrichtigungskonfiguration. Wird von der Content API beim Erstellen einer neuen NotificationSubscription generiert. Der account steht für die Händler-ID des Händlers, dem die Konfiguration gehört. Format: accounts/{account}/notificationsubscriptions/{notificationSubscription}
Das Ereignis, über das der Händler benachrichtigt werden möchte.
callBackUri
string
URL, über die die Benachrichtigung an den Händler gesendet werden soll.
Union-Feld interested_in.
Für interested_in ist nur einer der folgenden Werte zulässig:
allManagedAccounts
boolean
Wenn dieser Wert „wahr“ ist, wird das anfragende Konto täglich über das angegebene Ereignis für alle verwalteten Konten (Unterkonten oder andere verknüpfte Konten) einschließlich neu hinzugefügter Konten informiert.
targetAccount
string
Die name des Kontos, für das Sie Benachrichtigungen erhalten möchten. Format: accounts/{account}
NotificationEventType
Der Ereignistyp, für den der Händler Benachrichtigungen erhalten möchte.
Enums
NOTIFICATION_EVENT_TYPE_UNSPECIFIED
Der Ereignistyp „Benachrichtigungen“ ist nicht angegeben.
PRODUCT_STATUS_CHANGE
Benachrichtigung über Änderungen des Produktstatus, z. B. wenn das Produkt abgelehnt wird.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-11-24 (UTC)."],[[["NotificationSubscription enables merchants to receive notifications about specific events related to their account."],["Merchants can configure which events trigger notifications, such as product status changes, and provide a callback URL to receive them."],["The API offers methods to create, delete, retrieve, and update notification subscriptions."],["It allows merchants to receive notifications for events occurring on all managed accounts or a specific target account."]]],["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"]]