API endpoint that allows BedType to be viewed or edited.

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

{
    "id": 2,
    "url": "https://api.swistay.com/bed-types/2/?format=api",
    "code": "QUB",
    "name": "Queen bed",
    "description": "Queen bed is a bit larger than the double bed. Size is 5 ft 6 inches x 6 ft 6 inches and can accommodate up to two people at a time",
    "icon": {
        "id": 70,
        "name": "Queen bed",
        "src": "https://api.swistay.com/media/icons/bbcec7c3234947c08fac18aea880a70a.svg"
    },
    "order": 2
}