API endpoint that allows BedType to be viewed or edited.

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

{
    "id": 6,
    "url": "https://api.swistay.com/bed-types/6/?format=api",
    "code": "AIM",
    "name": "Air mattress",
    "description": "This is an inflatable mattress.",
    "icon": {
        "id": 75,
        "name": "Air mattress",
        "src": "https://api.swistay.com/media/icons/75.svg"
    },
    "order": 6
}