전체 주문 목록 조회
GET /admins/orders
권한: MANAGER
Request Parameters
Unresolved directive in admin-order.adoc - include::/home/runner/work/baedalsodae/baedalsodae/build/generated-snippets/admin-order/get-orders/request-parameters.adoc[]
HTTP Request Example
GET /admins/orders?size=10 HTTP/1.1
Host: localhost:8080
Response Fields
| Path | Type | Description |
|---|---|---|
|
|
응답 코드 |
|
|
HTTP 상태 |
|
|
응답 메시지 |
|
|
주문 목록 |
|
|
다음 페이지 존재 여부 |
|
|
다음 페이지 커서 - 기준 생성일시 |
|
|
다음 페이지 커서 - 기준 주문 ID |
HTTP Response Example
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 198
{"code":"OR202","status":"OK","message":"주문 목록 조회 성공","data":{"orders":[],"hasNext":false,"nextCursorCreatedAt":null,"nextCursorId":null},"timestamp":"2026-03-11T10:10:05.410264701"}
주문 상세 조회
GET /admins/orders/{orderId}
권한: MANAGER
Path Parameters
| Parameter | Description |
|---|---|
|
주문 ID |
HTTP Request Example
GET /admins/orders/639371c0-bffb-4214-ad89-7eecd38e16e7 HTTP/1.1
Host: localhost:8080
Response Fields
| Path | Type | Description |
|---|---|---|
|
|
응답 코드 |
|
|
HTTP 상태 |
|
|
응답 메시지 |
|
|
주문 ID |
|
|
주문 번호 |
|
|
주문자 닉네임 |
|
|
주문자 전화번호 |
|
|
가게 ID |
|
|
가게명 |
|
|
주문 상태 |
|
|
가게 요청 사항 |
|
|
배달 요청 사항 |
|
|
배달 주소 |
|
|
총 금액 |
|
|
배달비 |
|
|
할인 금액 |
|
|
최종 결제 금액 |
|
|
주문 아이템 목록 |
|
|
주문 생성일시 |
|
|
주문 요청일시 |
HTTP Response Example
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 704
{"code":"OR203","status":"OK","message":"주문 상세 조회 성공","data":{"orderId":"639371c0-bffb-4214-ad89-7eecd38e16e7","orderNo":"ORD-20260310-0001","userNickname":"테스트고객","userPhone":"010-1234-5678","storeId":"cd984bc4-b7f3-42c0-a8b2-77a04977576b","storeName":"테스트 가게","status":"CREATED","storeRequestNote":"요청사항 없음","deliveryRequestNote":"문 앞에 놓아주세요","deliveryAddressSnapshot":"서울특별시 강남구 테헤란로 1","totalAmount":10000,"deliveryFee":3000,"discountAmount":0,"finalAmount":13000,"items":[],"orderCreatedAt":"2026-03-11T10:10:05.37305677","orderedAt":"2026-03-11T10:10:05.373073311"},"timestamp":"2026-03-11T10:10:05.378820742"}
주문 상태 전이 이력 조회
GET /admins/orders/{orderId}/status-history
권한: MANAGER
Path Parameters
| Parameter | Description |
|---|---|
|
주문 ID |
HTTP Request Example
GET /admins/orders/27a50c1e-9a0f-49cb-af79-c5c103ac1175/status-history HTTP/1.1
Host: localhost:8080
Response Fields
| Path | Type | Description |
|---|---|---|
|
|
응답 코드 |
|
|
HTTP 상태 |
|
|
응답 메시지 |
|
|
주문 ID |
|
|
현재 주문 상태 |
|
|
상태 전이 이력 목록 |
HTTP Response Example
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 210
{"code":"OR204","status":"OK","message":"주문 상태 조회 성공","data":{"orderId":"27a50c1e-9a0f-49cb-af79-c5c103ac1175","currentStatus":null,"histories":null},"timestamp":"2026-03-11T10:10:05.464577178"}
주문 취소 대기 요청 (관리자)
POST /admins/orders/{orderId}/cancel-request
권한: MANAGER
-
취소 불가 상태(
CANCELED,CANCEL_REQUESTED)를 제외한 모든 상태에서 취소 요청 가능합니다.
Path Parameters
| Parameter | Description |
|---|---|
|
주문 ID |
Request Parameters
Unresolved directive in admin-order.adoc - include::/home/runner/work/baedalsodae/baedalsodae/build/generated-snippets/admin-order/cancel-request-order/request-parameters.adoc[]
HTTP Request Example
POST /admins/orders/079dbc1c-70e9-4dc9-88ea-c9929c4982a8/cancel-request HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: localhost:8080
Content-Length: 175
reason=%EA%B4%80%EB%A6%AC%EC%9E%90+%EC%B7%A8%EC%86%8C+%EC%82%AC%EC%9C%A0&_csrf=ozTRZVpR_DADuHvVz5BvI_rvpEZ-mRMiz50N2Kxh9fGxDZcalgToBzxoygYujE2x-b1bFc6MiX8YoCcPrvxvu5tXlMDXaPJ_
Response Fields
| Path | Type | Description |
|---|---|---|
|
|
응답 코드 |
|
|
HTTP 상태 |
|
|
응답 메시지 |
|
|
주문 ID |
|
|
변경된 주문 상태 |
|
|
결제 상태 |
HTTP Response Example
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 225
{"code":"OR211","status":"OK","message":"주문 취소 요청 성공","data":{"orderId":"079dbc1c-70e9-4dc9-88ea-c9929c4982a8","orderStatus":"CANCEL_REQUESTED","paymentStatus":null},"timestamp":"2026-03-11T10:10:05.44234393"}