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 제품 상태 변경 알림(예: 제품 비승인)

메서드

create

판매자의 알림 구독을 만듭니다.

delete

판매자의 알림 구독을 삭제합니다.

get

계정의 알림 구독을 가져옵니다.

list

판매자의 모든 알림 구독을 가져옵니다.

patch

판매자의 기존 알림 구독을 업데이트합니다.