From 90d993156e3d836b09a885293e0120678871c223 Mon Sep 17 00:00:00 2001 From: thug0bin Date: Fri, 6 Mar 2026 11:56:41 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EC=A7=80=EC=98=A4=EC=98=81=20cancel/re?= =?UTF-8?q?store=20=EB=AC=B8=EC=84=9C=20=EC=97=85=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/WHOLESALE_API_INTEGRATION.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/WHOLESALE_API_INTEGRATION.md b/docs/WHOLESALE_API_INTEGRATION.md index bd34959..d57d9b4 100644 --- a/docs/WHOLESALE_API_INTEGRATION.md +++ b/docs/WHOLESALE_API_INTEGRATION.md @@ -141,8 +141,8 @@ order_context = { | GET | /cart | 장바구니 조회 | | POST | /order | 장바구니 추가 | | POST | /cart/clear | 장바구니 비우기 | -| POST | /cart/cancel | **항목 취소** (신규) | -| POST | /cart/restore | **항목 복원** (신규) | +| POST | /cart/cancel | **항목 취소 (soft delete)** | +| POST | /cart/restore | **항목 복원** | | POST | /confirm | 주문 전송 | ### 지오영 (/api/geoyoung/*) @@ -153,8 +153,17 @@ order_context = { | GET | /cart | 장바구니 조회 | | POST | /order | 장바구니 추가 | | POST | /cart/clear | 장바구니 비우기 | +| POST | /cart/cancel | **항목 삭제 (hard delete)** | +| POST | /cart/restore | ❌ NOT_SUPPORTED | | POST | /confirm | 주문 전송 | +### 개별 삭제 API 차이 + +| 도매상 | cancel 동작 | restore 가능 | 내부 API | +|--------|-------------|-------------|----------| +| 수인 | 체크박스 soft delete | ✅ 가능 | ControlBag.asp | +| 지오영 | 완전 삭제 | ❌ 불가 | DataCart/del | + --- ## 📁 관련 문서 @@ -173,7 +182,8 @@ order_context = { ### 완료 - [x] 지오영 API 연동 - [x] 수인약품 API 연동 -- [x] 개별 취소 기능 (수인) +- [x] 개별 취소 기능 (수인) - soft delete +- [x] 개별 삭제 기능 (지오영) - hard delete - [x] Flask Blueprint 통합 - [x] wholesale 패키지 분리 - [x] SQLite 스키마 업데이트