Skip to content

Add order status and lifecycle timestamps to order detail response#94

Closed
Copilot wants to merge 3 commits intodevelopfrom
copilot/add-order-details-page
Closed

Add order status and lifecycle timestamps to order detail response#94
Copilot wants to merge 3 commits intodevelopfrom
copilot/add-order-details-page

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 6, 2026

Overview

Order detail API was missing critical fields needed for displaying order status and tracking delivery lifecycle on the frontend.

Changes

OrderDetailResponse DTO

  • Added orderStatus enum field (ORDER_RECEIVED, SHIPPING, DELIVERED, CONFIRMED, CANCELED)
  • Split address into separate fields: deliveryAddress, detailAddress, postalCode
  • Added lifecycle timestamps: shippingStartedAt, deliveredAt, confirmedAt, canceledAt

OrderConverter

  • Updated toDetailResponse() to map all new fields from Order entity
  • Removed address concatenation logic to preserve field separation

API Documentation

  • Enhanced Swagger description for GET /api/orders/{orderId} endpoint

Example Response

{
  "id": 123,
  "orderNumber": "ORD-20260206-abc12345",
  "orderStatus": "SHIPPING",
  "deliveryAddress": "서울시 강남구 테헤란로 123",
  "detailAddress": "456호",
  "postalCode": "06234",
  "shippingStartedAt": "2026-02-05T14:30:00",
  "deliveredAt": null,
  ...
}
Original prompt

This section details on the original issue you should resolve

<issue_title>[Feat] 주문 상세 보기 화면</issue_title>
<issue_description>## 📌 Description

[Feat] 주문 상세 보기 화면

✅ To-do

  • 진행 예정
  • 진행 완료

📒 기타</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 6, 2026 10:41
Co-authored-by: neibler <87866961+neibler@users.noreply.github.com>
Co-authored-by: neibler <87866961+neibler@users.noreply.github.com>
Copilot AI changed the title [WIP] Add order details page feature Add order status and lifecycle timestamps to order detail response Feb 6, 2026
Copilot AI requested a review from neibler February 6, 2026 10:45
@neibler neibler closed this Feb 7, 2026
@neibler neibler reopened this Feb 7, 2026
@neibler neibler closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 주문 상세 보기 화면

2 participants