# \[웹훅 추가] 회원정보 변경 및 회원탈퇴

### 업데이트 일자: 2022. 10. 14

```
[웹훅 추가] 새롭게 추가개발된 웹훅(Webhook)에 대해 안내드리는 콘텐츠입니다.
```

셀러어드민 > 앱 등록 시 제공하는 웹훅 기능 안내드립니다.<br>

회원정보 변경, 회원탈퇴 웹훅 설정으로 앱이 설치된 쇼핑몰의 회원정보가 변경되거나, 회원탈퇴 발생 시 웹훅을 수신할 수 있습니다.

<br>

■ 적용 위치 : 워크스페이스 GNB > 셀러어드민 > 설치 > 앱 > 앱 등록/수정\
\
■ 추가된 기능 : (1) 회원정보 변경 웹훅 설정\
&#x20;                     (2) 회원탈퇴 웹훅 설정

<figure><img src="https://rlyfaazj0.toastcdn.net/20220919/143450.100138000/image.png" alt=""><figcaption></figcaption></figure>

■ 기능 상세

* 쇼핑몰에서 (1) 회원정보 변경이 발생하거나, (2) 회원탈퇴 발생 시 변경된 내용을 웹훅을 통해 등록된 외부 URI로 알려줍니다.
* server API 'member' 권한을 추가하셔야 회원정보 변경, 회원탈퇴 웹훅 설정이 가능합니다.
* 웹훅 발행 시점
  * 회원정보 변경
    * 고객이 회원정보를 수정했을 때 해당 고객 정보를 전달합니다.
  * 회원탈퇴
    * 탈퇴 요청이 발생한 시점에 탈퇴 요청한 고객 정보를 전달합니다.
* Request Body

{% code overflow="wrap" %}

```
{
  mallNo: 쇼핑몰 번호
  memberNo: 회원번호
  memberId: 회원아이디(외부연동 ID로 가입 시 null)
  memberName: 회원이름
  email: 회원이메일
  providerType: 외부연동 ID로 가입 시 외부연동 값 노출(KAKAO, PAYCO 등)
  eventType: "MEMBER_WITHDRAW" 이벤트 구분(MEMBER_WITHDRAW (회원탈퇴)/ MEMBER_INFO_CHANGED(회원정보수정))
}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://workspace-help.nhn-commerce.com/contents/recommended/undefined-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
