# 배송지 관리

주문 시 배송지를 설정하고 관리하는 기능을 제공합니다.

고객이 직접 배송주소를 등록, 수정, 삭제하고 배송 옵션을 선택할 수 있도록 API를 제공합니다.

***

## 배송지 관리 <a href="#plus" id="plus"></a>

마이페이지 전체 메뉴에서 \[배송지 관리]을 클릭하면 배송지 관리 페이지로 이동합니다.

배송지 관리 페이지 이동을 위해서는 비밀번호 확인 절차를 완료해야합니다.

<p align="center"><img src="https://tech.x2bee.com/download/attachments/266111172/FO%20API%20%ED%99%9C%EC%9A%A9%ED%95%98%EA%B8%B0%20-%20%EB%B0%B0%EC%86%A1%EC%A7%80%20%EA%B4%80%EB%A6%AC.drawio.png" alt=""></p>

### 1. 신규 배송지 등록 <a href="#id-1" id="id-1"></a>

**\[배송지 등록]** 버튼을 클릭하면 배송지 신규등록 팝업창으로 이동합니다.

배송지 정보를 입력하고 **\[등록하기**] 버튼을 클릭하면 새로운 배송지가 등록됩니다.

* **회원배송지 등록 (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EB%B0%B0%EC%86%A1%EC%A7%80/insertDlvpInfo))\
  회원번호에 대한 배송지 리스트를 등록합니다.

```
POST /v1/front/dlvpInfo 
```

### 2. 배송지 조회 <a href="#id-2" id="id-2"></a>

고객이 등록한 배송지 정보를 조회할 수 있습니다.

* **회원배송지 목록 조회 (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EB%B0%B0%EC%86%A1%EC%A7%80/getDlvpInfoList))\
  회원번호에 대한 배송지 리스트를 조회합니다.

```
GET /v1/front/dlvpInfo 
```

### 3. 기본 배송지로 변경하기 <a href="#id-3" id="id-3"></a>

**\[기본 배송지로 변경]**&#xC744; 클릭하면 기본 배송지로 표기되며 주문서 기본 배송지로 등록할 수 있습니다.

* **회원 기본배송지 저장 (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EB%B0%B0%EC%86%A1%EC%A7%80/dlvpDetailInfo))\
  선택한 배송지순번의 배송지를 회원의 기본배송지로 변경합니다.

```
PUT /v1/front/dlvpDetailInfo 
```

### 4. 배송지 삭제하기 <a href="#id-4" id="id-4"></a>

**\[삭제하기]** 버튼을 클릭하면 등록된 회원배송지가 삭제 됩니다.

* **회원배송지 삭제 (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EB%B0%B0%EC%86%A1%EC%A7%80/deleteDlvpInfo))\
  선택한 배송지순번을 찾아 삭제합니다.

```
DEL /v1/front/dlvpInfo 
```

### 5. 배송지 정보 수정하기 <a href="#id-5" id="id-5"></a>

**\[수정]**&#xC744; 클릭하면 배송지 수정 팝업창이 나타납니다.

배송지 정보를 수정하고 **\[수정하기]** 버튼을 클릭하면 배송지 수정을 완료합니다.

* **회원배송지 수정 (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EB%B0%B0%EC%86%A1%EC%A7%80/updateDlvpInfo))\
  배송지 수정 팝업에서 사용자가 입력한 form 의 정보로 배송지를 수정합니다.

```
PUT /v1/front/dlvpInfo 
```


---

# 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://tech.x2bee.com/api-guide/store-front-api/undefined-4/undefined-6.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.
