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 스키마 업데이트