API endpoint that allows BedType to be viewed or edited.

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

{
    "id": 7,
    "url": "https://api.swistay.com/bed-types/7/?format=api",
    "code": "WAM",
    "name": "Water mattress",
    "description": "This is a bed or mattress filled with water.",
    "icon": {
        "id": 75,
        "name": "Air mattress",
        "src": "https://api.swistay.com/media/icons/75.svg"
    },
    "order": 7
}