API endpoint that allows Listing to be viewed or edited.

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

{
    "id": 59,
    "url": "https://api.swistay.com/listings/59/?format=api",
    "type": "apartment",
    "available_for": "booking",
    "available_for_options": [
        "rent",
        "sale",
        "booking"
    ],
    "price": {
        "id": 58,
        "amount": 850.0,
        "today_calendar_rule_amount": 850.0,
        "time_rate": "night",
        "area_rate": "",
        "currency": "ZMW",
        "is_negotiable": false,
        "payment_frequency_count": 1,
        "payment_terms": ""
    },
    "security_deposit": null,
    "description": "<p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Are you travelling to Lusaka for work?</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Our serviced apartments have everything you need for a short or long stay.</span></p><p class=\"mb-1\"><br></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">As you settle into the new job book a stay with us for K700 per night or </span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">We guarantee you will enjoy how peaceful and cozy the apartment is. </span></p><p class=\"mb-1\"><br></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">We are located in Obama Ranchdale</span></p>",
    "location": {
        "id": 55,
        "address": "Obama Ranchdale, Lusaka",
        "coordinates": {
            "lat": -15.352842,
            "lng": 28.376959
        }
    },
    "owner": {
        "id": 1,
        "url": "https://api.swistay.com/users/1/?format=api",
        "email": "yezileliilomo@hotmail.com",
        "phone": "260776968833",
        "date_joined": "2023-09-30T22:16:10.480028Z",
        "is_premium": true,
        "is_staff": true,
        "is_host": true,
        "is_agent": true,
        "is_verified": true,
        "full_name": "Swistay",
        "is_active": true,
        "picture": {
            "id": 11,
            "url": "https://api.swistay.com/profile-pictures/11/?format=api",
            "src": "https://api.swistay.com/media/profile_pictures/1e5e820e4fe64a0885ba938c61c59ae4.jpeg"
        },
        "biography": "Hello there!..👋",
        "verification": 1,
        "account": 3,
        "settings": 1,
        "last_seen": "2025-05-08T13:00:09.724371Z",
        "is_phone_verified": true,
        "is_email_verified": true
    },
    "amenities": [
        {
            "id": 13,
            "url": "https://api.swistay.com/amenities/13/?format=api",
            "name": "Stove/Electric Cooker",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 41,
                "name": "Stove",
                "src": "https://api.swistay.com/media/icons/e831309b5d3d420d8a448d86fe3049dd.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 36,
            "url": "https://api.swistay.com/amenities/36/?format=api",
            "name": "TV",
            "category": {
                "id": 7,
                "name": "Entertainment & Sports",
                "order": 12
            },
            "icon": {
                "id": 48,
                "name": "Television",
                "src": "https://api.swistay.com/media/icons/9b6c994b43da4d1da9ccdd37c2912bea.svg"
            },
            "description": "",
            "search_keywords": "Television, Dstv, Decoder"
        },
        {
            "id": 9,
            "url": "https://api.swistay.com/amenities/9/?format=api",
            "name": "Air conditioning",
            "category": {
                "id": 4,
                "name": "Heating & Cooling",
                "order": 8
            },
            "icon": {
                "id": 47,
                "name": "Cold weather",
                "src": "https://api.swistay.com/media/icons/f242de6caf2043368d233af2a56072a6.svg"
            },
            "description": "",
            "search_keywords": "AC, Aircon"
        },
        {
            "id": 14,
            "url": "https://api.swistay.com/amenities/14/?format=api",
            "name": "Oven",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 40,
                "name": "Oven",
                "src": "https://api.swistay.com/media/icons/543e6cebb0d745e0be300037cbdee144.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 15,
            "url": "https://api.swistay.com/amenities/15/?format=api",
            "name": "Kitchen",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 44,
                "name": "Kitchen tools",
                "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 16,
            "url": "https://api.swistay.com/amenities/16/?format=api",
            "name": "Fitted kitchen units",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 13,
                "name": "Wardrobe",
                "src": "https://api.swistay.com/media/icons/a2dc6b0f3c7e44479f9b8c46207ac5ad.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 18,
            "url": "https://api.swistay.com/amenities/18/?format=api",
            "name": "Dining table",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 34,
                "name": "Dining table",
                "src": "https://api.swistay.com/media/icons/3f2716ac812d45ce907d7b6b17087e80.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 43,
            "url": "https://api.swistay.com/amenities/43/?format=api",
            "name": "Iron",
            "category": {
                "id": 8,
                "name": "Bedroom & Laundry",
                "order": 1
            },
            "icon": {
                "id": 21,
                "name": "Iron",
                "src": "https://api.swistay.com/media/icons/21272f7a30f9499ba8fd0296bd07552d.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 44,
            "url": "https://api.swistay.com/amenities/44/?format=api",
            "name": "Ironing board",
            "category": {
                "id": 8,
                "name": "Bedroom & Laundry",
                "order": 1
            },
            "icon": {
                "id": 64,
                "name": "Ironing board",
                "src": "https://api.swistay.com/media/icons/64.svg"
            },
            "description": "",
            "search_keywords": ""
        }
    ],
    "services": [],
    "main_picture": {
        "id": 536,
        "url": "https://api.swistay.com/listing-pictures/536/?format=api",
        "is_main": true,
        "listing": 59,
        "tooltip": "",
        "src": "https://api.swistay.com/media/listings_pictures/0f32f8110aa145d8a9a3d6268621b792.jpeg"
    },
    "pictures": [
        {
            "id": 536,
            "url": "https://api.swistay.com/listing-pictures/536/?format=api",
            "is_main": true,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/0f32f8110aa145d8a9a3d6268621b792.jpeg"
        },
        {
            "id": 537,
            "url": "https://api.swistay.com/listing-pictures/537/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/9531a198985a4f6c919730e179431241.jpeg"
        },
        {
            "id": 538,
            "url": "https://api.swistay.com/listing-pictures/538/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a643a74fd9c841fba2023e2a17b0fdfc.jpeg"
        },
        {
            "id": 539,
            "url": "https://api.swistay.com/listing-pictures/539/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/419e3acd580e44ea915fb273c383b11b.jpeg"
        },
        {
            "id": 540,
            "url": "https://api.swistay.com/listing-pictures/540/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/ee1846ee9f4e4b62b4c3399bee79e782.jpeg"
        },
        {
            "id": 541,
            "url": "https://api.swistay.com/listing-pictures/541/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/4e7682364e544ae1801096ae50ea02c0.jpeg"
        },
        {
            "id": 542,
            "url": "https://api.swistay.com/listing-pictures/542/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/be85eb67c4104c699e2d3763be7acce5.jpeg"
        },
        {
            "id": 543,
            "url": "https://api.swistay.com/listing-pictures/543/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/9586633a5a694cf9b7e2a0f8c3c597af.jpeg"
        },
        {
            "id": 544,
            "url": "https://api.swistay.com/listing-pictures/544/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/838b4d97f11e482cb900b96bdbfd6a6e.jpeg"
        },
        {
            "id": 545,
            "url": "https://api.swistay.com/listing-pictures/545/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a3642a72f7844553a0b4ff75dc130816.jpeg"
        },
        {
            "id": 546,
            "url": "https://api.swistay.com/listing-pictures/546/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/e43a2c405f30431ca6a70317f80e4c22.jpeg"
        },
        {
            "id": 547,
            "url": "https://api.swistay.com/listing-pictures/547/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/1001656157aa48b2bfe09ba8de71318f.jpeg"
        },
        {
            "id": 548,
            "url": "https://api.swistay.com/listing-pictures/548/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/ba9cf0ee686344db96143f4f9b8bb6de.jpeg"
        },
        {
            "id": 549,
            "url": "https://api.swistay.com/listing-pictures/549/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/78a290d4d3224e5ead3741655ac983d8.jpeg"
        },
        {
            "id": 550,
            "url": "https://api.swistay.com/listing-pictures/550/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/bed02ab1d7ac4fefa02b4fc51fef8f63.jpeg"
        },
        {
            "id": 551,
            "url": "https://api.swistay.com/listing-pictures/551/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a13c9ac80e5e41f1a2d3ff9bb616a0ba.jpeg"
        },
        {
            "id": 552,
            "url": "https://api.swistay.com/listing-pictures/552/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/0ac1b36f43bc4d169cf552ed0586ec22.jpeg"
        },
        {
            "id": 553,
            "url": "https://api.swistay.com/listing-pictures/553/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/721f63c478744a8488edf55f7eeb8701.jpeg"
        },
        {
            "id": 554,
            "url": "https://api.swistay.com/listing-pictures/554/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/9868db574b0b4a7aa954ced92384f28b.jpeg"
        },
        {
            "id": 555,
            "url": "https://api.swistay.com/listing-pictures/555/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/70c0ebc76b364daeaaa180bc30b3c901.jpeg"
        },
        {
            "id": 556,
            "url": "https://api.swistay.com/listing-pictures/556/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/e937eaf94b54481ea51bc30d8b34f3f0.jpeg"
        },
        {
            "id": 557,
            "url": "https://api.swistay.com/listing-pictures/557/?format=api",
            "is_main": false,
            "listing": 59,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/990752ae017945a4838901543b591a1b.jpeg"
        }
    ],
    "contact": {
        "id": 55,
        "phone": "260765406788",
        "is_phone_on_whatsapp": true
    },
    "publish_date": "2024-05-14T13:26:58.204556Z",
    "is_in_saved_listings": false,
    "min_distance": 0.0,
    "beds_count": 1,
    "reviews_summary": null,
    "parent_listing": null,
    "quantity": 1,
    "accommodations": [],
    "auto_confirm_reservations": false,
    "is_published": true,
    "publish_request": {
        "id": 59,
        "url": "https://api.swistay.com/listing-publish-requests/59/?format=api",
        "is_ever_reviewed": true,
        "status": "accepted",
        "decline_reason": "",
        "created_at": "2024-05-14T13:22:37.977878Z",
        "updated_at": "2024-05-14T13:26:58.207609Z"
    },
    "rooms": [
        {
            "id": 277,
            "listing": 59,
            "type": {
                "id": 2,
                "url": "https://api.swistay.com/room-types/2/?format=api",
                "code": "BER_EN",
                "name": "Ensuite Bedroom",
                "description": "This is a bedroom that is directly connected to a bathroom, it's also known as self contained",
                "icon": {
                    "id": 23,
                    "name": "Double bed",
                    "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
                },
                "order": 2
            },
            "count": 1,
            "beds": [
                {
                    "id": 17,
                    "room": 277,
                    "type": {
                        "id": 1,
                        "url": "https://api.swistay.com/bed-types/1/?format=api",
                        "code": "KIB",
                        "name": "King bed",
                        "description": "A king sized bed is available in two sizes European(6 ft x 6 ft 6 inches) and California(6 ft x 6 ft 10 inches) king. Can accommodate up to two people at a time",
                        "icon": {
                            "id": 71,
                            "name": "King bed",
                            "src": "https://api.swistay.com/media/icons/1b821be660a345a78aeb08b260e39196.svg"
                        },
                        "order": 1
                    },
                    "count": 1
                }
            ],
            "pictures": []
        },
        {
            "id": 278,
            "listing": 59,
            "type": {
                "id": 10,
                "url": "https://api.swistay.com/room-types/10/?format=api",
                "code": "BAR_MS",
                "name": "Master Suite Bathroom",
                "description": "This is a bathroom that's directly connected to a master suite bedroom",
                "icon": {
                    "id": 52,
                    "name": "Bathtub",
                    "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg"
                },
                "order": 7
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 280,
            "listing": 59,
            "type": {
                "id": 11,
                "url": "https://api.swistay.com/room-types/11/?format=api",
                "code": "LIR",
                "name": "Living Room",
                "description": "A living room is a common space in a house where people relax and socialize",
                "icon": {
                    "id": 48,
                    "name": "Television",
                    "src": "https://api.swistay.com/media/icons/9b6c994b43da4d1da9ccdd37c2912bea.svg"
                },
                "order": 11
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 279,
            "listing": 59,
            "type": {
                "id": 13,
                "url": "https://api.swistay.com/room-types/13/?format=api",
                "code": "KIR",
                "name": "Kitchen Room",
                "description": "A kitchen is a room or part of a room used for cooking and food preparation",
                "icon": {
                    "id": 44,
                    "name": "Kitchen tools",
                    "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
                },
                "order": 14
            },
            "count": 1,
            "beds": [],
            "pictures": []
        }
    ],
    "bedrooms_count": 1,
    "bathrooms_count": 1,
    "kitchenrooms_count": 1,
    "diningrooms_count": 0,
    "livingrooms_count": 1,
    "carrying_capacity": 4,
    "suitable_events": [],
    "area": null,
    "sub_type": "",
    "condition": "",
    "is_furnished": false,
    "available_for_tour_starting_from": "2024-05-14",
    "lowest_price": null,
    "available_for_moving_in_starting_from": "2024-05-14",
    "min_check_in_time": "11:00 AM",
    "is_premium": true,
    "max_check_out_time": "10:00 AM",
    "are_pets_allowed": true,
    "are_parties_and_events_allowed": false,
    "min_stay": 1,
    "max_stay": null,
    "calendar": {
        "id": 13,
        "months_to_book_in_advance": 1,
        "rules": []
    },
    "tour_schedule": null,
    "is_listed_by_owner": false,
    "is_off_market": false,
    "personal_note": "https://m.facebook.com/story.php?story_fbid=pfbid02gJMPLLykbeM6kwRyaK61w4iQ66reeh9CCNMWMWSsMZDrXshiJFv84RiCsaV62Nxbl&id=100089033233619&mibextid=WC7FNe",
    "availability_confirmation_reminder_count": 0,
    "is_short_term_rental": true,
    "is_long_term_rental": false,
    "is_for_sale": false,
    "is_long_term": false
}