API endpoint that allows BedType to be viewed or edited.

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

{
    "id": 5,
    "url": "https://api.swistay.com/bed-types/5/?format=api",
    "code": "BUB",
    "name": "Bunk bed",
    "description": "A bunk bed or set of bunks is a type of bed in which one bed frame is stacked on top of another, allowing two or more sleeping-places",
    "icon": {
        "id": 72,
        "name": "Bunk bed",
        "src": "https://api.swistay.com/media/icons/fc8128ea820a4f4f85138456f22aeb30.svg"
    },
    "order": 5
}