> 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-guide/store-front-api/undefined-4/undefined-8/undefined-2.md).

# 주문취소/옵션변경

## 주문취소 <a href="#plus" id="plus"></a>

<p align="center"><img src="https://tech.x2bee.com/download/attachments/266111460/%EC%A3%BC%EB%AC%B8%EC%B7%A8%EC%86%8C.drawio.png" alt=""></p>

### 1. 주문취소 팝업 정보 조회 <a href="#id-1" id="id-1"></a>

주문취소 대상 상품 및 사유를 선택하여, 주문취소신청 진행 화면으로 이동합니다.

* **주문취소 대상 조회 (FO) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=order\&depth=%EC%A3%BC%EB%AC%B8%EC%B7%A8%EC%86%8C\&path=getOrderCancelPopupInfoFO))\
  비회원과 회원 모두 동일한 주문취소 팝업 정보 API를 사용합니다.

```
POST /v1/claim/orderCancel/cancelPopupFO 
```

### 2. 환불 및 추가 결제 정보 조회 <a href="#id-2" id="id-2"></a>

주문취소 시 환불 받은 금액 또는 추가적으로 결제해야할 금액 정보가 나타납니다.

* **클레임 비용 계산 조회 (FO) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=order\&depth=%ED%81%B4%EB%A0%88%EC%9E%84%EA%B3%B5%ED%86%B5/calculateFO))\
  클레임 부가비용, 혜택정보, 추가결제/환불 예정 정보 및 비용 DB 데이터 생성 정보를 제공합니다.

```
POST/v1/claim/common/claimCalculateCostFO 
```

### 3. 주문취소 처리  <a href="#id-3" id="id-3"></a>

주문취소가 처리되며 환불 또는 결제, 쿠폰 복원이 일어날 수 있으며 재고 증감이 발생합니다.

* **주문취소 (FO) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=order\&depth=%EC%A3%BC%EB%AC%B8%EC%B7%A8%EC%86%8C/cancelOrderFO))\
  주문취소 처리 시, 알림톡/알림함/이메일이 전송됩니다.

```
POST/v1/claim/orderCancel/cancelFO 
```

### 4. 주문 취소 상세 내역 조회  <a href="#id-4" id="id-4"></a>

주문 취소 완료 후 주문취소 정보, 환불/결제 내역, 환불 예정 쿠폰 정보가 나타납니다.

* **클레임 상세 내역 조회 (FO) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=order\&depth=%ED%81%B4%EB%A0%88%EC%9E%84%EA%B3%B5%ED%86%B5/getClaimDetailsInfoFO))\
  주문취소 상품, 환불/결제 내역, 환불예정쿠폰, 배송정보를 제공합니다.

```
POST /v1/claim/common/claimDetailsInfoFO 
```

&#x20;

## 주문 상품 옵션 변경 <a href="#plus" id="plus"></a>

주문이 완료된 상품 중 출고 되지 않은 상품은 옵션을 변경할 수 있습니다.

주문 조회 시 옵션 변경이 가능한 상품은 \[옵션 변경] 버튼이 나타납니다.

<p align="center"><img src="https://tech.x2bee.com/download/attachments/266111460/%EC%98%B5%EC%85%98%EB%B3%80%EA%B2%BD.drawio.png" alt=""></p>

### 1. 주문 상품 옵션 변경하기 <a href="#id-1" id="id-1"></a>

주문 조회 및 상세 화면에서 옵션 변경 버튼 클릭시, 옵션 변경 화면이 나타납니다.

* **주문 상품 옵션 변경 (FO) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=order\&depth=%EC%A3%BC%EB%AC%B8%EB%B3%80%EA%B2%BD/ordChangeFO))\
  비회원과 회원 모두 동일한 옵션 변경 API를 사용합니다.

```
POST/v1/claim/orderChange/ordChangeFO 
```

### 2. 변경 가능한 상품 옵션 조회하기 <a href="#id-2" id="id-2"></a>

상품이 변경 가능한 옵션 정보를 조회합니다.

* **상품별 단품정보 조회(주문 전용) (**[🔗API 확인하기 >](https://api.x2bee.com/content?msa=goods\&depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8/getOrderItmInfos))\
  다건 상품 itmNo별 단품정보를 조회하는 API 입니다.

```
POST /v1/detail/otherItms 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://tech.x2bee.com/api-guide/store-front-api/undefined-4/undefined-8/undefined-2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
