Update Room
PATCH /api/v1/hosts/{hostId}/rooms/{roomId}
Optional fields:
pricePerDay
, description
, name
Example request body
{ "room": { "name": "제주도 방", "description": "이 숙소는 아주 좋은 숙소입니다.", "pricePerDay": 20000 } }
Role
HOST
requiredExample response body
{ "room": { "id" : 1, "name": "제주도 방", "address": "제주시 하양읍", "description": "이 숙소는 아주 좋은 숙소입니다.", "pricePerDay": 20000, "capacity": 5, "reviewCount": 3 } }