> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/api-en/store-front-api-reference/member-api/member-withdrawal.md).

# Member Withdrawal

## Member Withdrawal

> \## Function Description\
> \* Processes member withdrawal.\
> \---\
> \## Detailed Description\
> \* Checks whether withdrawal is possible. ( API URL : \*\*/api/member/v1/withdrawal/chkWithdrawalMember\*\* )\
> \* Changes the member status to withdrawn and saves the withdrawal reason passed from the screen.\
> \* If a linked social login account exists, unlinks it.\
> \* Masks personal information present in the withdrawing member's member information, order history, 1:1 inquiry history, product inquiry history, and event history.\
> \* Sends a withdrawal email and withdrawal notification message upon successful withdrawal.\
> \---\
> \## Notes\
> \* Login is required.\
> \* If any masking fails among order history, 1:1 inquiry history, product inquiry history, and event history, the failed data is accumulated separately for reprocessing.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/withdrawal/procWithdrawal":{"post":{"tags":["Member Withdrawal"],"summary":"Member Withdrawal","description":"## Function Description\n* Processes member withdrawal.\n---\n## Detailed Description\n* Checks whether withdrawal is possible. ( API URL : **/api/member/v1/withdrawal/chkWithdrawalMember** )\n* Changes the member status to withdrawn and saves the withdrawal reason passed from the screen.\n* If a linked social login account exists, unlinks it.\n* Masks personal information present in the withdrawing member's member information, order history, 1:1 inquiry history, product inquiry history, and event history.\n* Sends a withdrawal email and withdrawal notification message upon successful withdrawal.\n---\n## Notes\n* Login is required.\n* If any masking fails among order history, 1:1 inquiry history, product inquiry history, and event history, the failed data is accumulated separately for reprocessing.\n","operationId":"withdrawal","parameters":[{"name":"withDrawalRequest","in":"query","description":"Withdrawn Member Information","required":true,"schema":{"type":"string","description":"WithDrawalRequest"}},{"name":"userDetail","in":"query","description":"Member Information","required":true,"schema":{"type":"string","description":"UserDetail"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithDrawalRequest"}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## Check Whether Member Withdrawal Is Possible

> \## Function Description\
> \* Checks whether member withdrawal is possible.\
> \---\
> \## Detailed Description\
> \* Withdrawal is not possible if there is an order in progress.\
> \* Withdrawal is not possible if there is a claim (exchange, return) in progress.\
> \* Withdrawal is not possible if there is a 1:1 inquiry in progress.\
> \* Withdrawal is not possible if usable mileage exists.\
> \* A withdrawal failure log is created if withdrawal is not possible.\
> \---\
> \## Revision History\
> \* \`\`\`Release v1.07\_231228\`\`\`: Removed common logic due to removal of dormant member logic<br>

````json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/withdrawal/chkWithdrawalMember":{"post":{"tags":["Member Withdrawal"],"summary":"Check Whether Member Withdrawal Is Possible","description":"## Function Description\n* Checks whether member withdrawal is possible.\n---\n## Detailed Description\n* Withdrawal is not possible if there is an order in progress.\n* Withdrawal is not possible if there is a claim (exchange, return) in progress.\n* Withdrawal is not possible if there is a 1:1 inquiry in progress.\n* Withdrawal is not possible if usable mileage exists.\n* A withdrawal failure log is created if withdrawal is not possible.\n---\n## Revision History\n* ```Release v1.07_231228```: Removed common logic due to removal of dormant member logic\n","operationId":"chkWithdrawalMember","parameters":[{"name":"userDetail","in":"query","description":"Member Information","required":true,"schema":{"type":"string","description":"UserDetail"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
````
