HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
[New] 아만드팀
[New] 아만드팀
/
🌟
팀프로젝트
/
/host/reservations/{reservationId}

/host/reservations/{reservationId}

기타 헤더
Authorization
Method
Put
Domain
Reservation
담당자
리뷰
설명
호스트 예약 승인
완료?
완료?
반환코드
200
ok

Path Variable

  • reservationId : 예약 번호
 

Response


{ "data":{ "id":1, "checkIn":"2022-07-05", "checkOut":"2022-07-08", "totalGuest":3, "totalPrice":300000, "reservationStatus":"APPROVED" } }
sequenceDiagram Host->>+Client: 예약 승인 요청 Client->>Amabnb: PUT /host/reservations/{reservationId} Note over Client, Amabnb: 예약 승인 요청 API Amabnb->>+Reservation: 예약 승인 요청 Reservation ->> +User : 호스트 조회 User -->> Reservation : 응답 및 예외처리 Reservation-->>Amabnb: 응답 및 예외처리 Amabnb-->>Client: 응답 및 예외처리 Client-->>Host: 응답 및 예외처리