API endpoint that allows BedType to be viewed or edited.

GET /bed-types/4/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 4,
    "url": "https://api.swistay.com/bed-types/4/?format=api",
    "code": "DOB",
    "name": "Double bed",
    "description": "Double bed is meant for 2 persons. Size is 4 ft 6 inches x 6 ft 3 inches",
    "icon": {
        "id": 23,
        "name": "Double bed",
        "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
    },
    "order": 4
}