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 商品のステータスの変更通知(商品が不承認になった場合など)。

Methods

create

販売者向けの通知サブスクリプションを作成します。

delete

販売者の通知サブスクリプションを削除します。

get

アカウントの通知の登録を取得します。

list

販売者のすべての通知登録を取得します。

patch

販売者の既存の通知登録を更新します。