REST Resource: accounts.notificationsubscriptions
リソース: NotificationSubscription
販売者のアカウントが所有する通知の定期購入を表します。
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 .
} |
フィールド |
name |
string
出力専用。通知構成の name 。新しい NotificationSubscription の作成時に Content API によって生成されます。account は、構成を所有する販売者の販売者 ID を表します。形式: accounts/{account}/notificationsubscriptions/{notificationSubscription}
|
registeredEvent |
enum (NotificationEventType )
販売者が通知を受け取るイベント。
|
callBackUri |
string
販売者への通知のプッシュに使用する URL。
|
共用体フィールド interested_in 。 interested_in は次のいずれかになります。
|
allManagedAccounts |
boolean
この値が true の場合、リクエスト元のアカウントには、新しく追加されたアカウントを含むすべての管理対象アカウント(サブアカウントまたは他のリンク済みアカウント)の指定されたイベントが毎日通知されます。
|
targetAccount |
string
通知を受け取るアカウントの name 。形式: accounts/{account}
|
NotificationEventType
販売者が通知を受け取ることを希望するイベントタイプを表します。
列挙型 |
NOTIFICATION_EVENT_TYPE_UNSPECIFIED |
通知イベントの種類が指定されていません。 |
PRODUCT_STATUS_CHANGE |
商品のステータスの変更(商品が不承認になった場合など)に関する通知。 |
メソッド |
|
ビジネスの通知サブスクリプションを作成します。 |
|
販売者の通知の定期購入を削除します。 |
|
アカウントの通知サブスクリプションを取得します。 |
|
販売者のすべての通知サブスクリプションを取得します。 |
|
販売者の既存の通知サブスクリプションを更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-24 UTC。
[null,null,["最終更新日 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"]]