curl --location --request POST 'https://api.travtus.com/listings/' \
--header 'Content-Type: application/json' \
--header 'Authorization: bearer <token>' \
--data-raw '{
"group_id": "group-1",
"listings": [
{
"amenities": [
"Swimming Pool",
"Gym"
],
"features": [
"Floor heating"
],
"finish": "gold",
"address": {
"building_name": "Building 1",
"address_line_1": "Blvd Street",
"address_line_2": "Appartment 12",
"city": "New York",
"country": "United States",
"state": "New York",
"postal_code": "10001",
"latitude": 40.730610,
"longitude": -73.935242
},
"bathrooms": [
{
"identifier": "listing-1-bathroom-1"
"has_shower_or_bath": true
"has_sink": true
"has_toilet": true
},
{
"identifier": "listing-1-bathroom-2"
"has_shower_or_bath": false
"has_sink": true
"has_toilet": true
},
],
"bedrooms": 2,
"description": "A beautiful apartment in the heart of the city.",
"floorplan_url": "www.floorplans.com/listing-1",
"image_urls": [
"www.my-images-host.com/listing-1-1.jpg",
"www.my-images-host.com/listing-1-2.jpg"
],
"is_flex": false,
"is_furnished": true,
"lease_terms": [
{
"deposit": 1400.00,
"length_in_months": 12,
"rent": 700.00
}
],
"active_date": "2023-01-17",
"move_in_date": "2023-01-17",
"sqft": 40.00,
"tour_url": "www.virtualtours.com/listing-1",
"unit_number": "1",
"unit_type": "apartment",
"listing_url": "www.listings.com/listing-1"
}
]
}'