v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Amenities

Set Amenities For Property

Set selected amenities list to the property

put/properties-api/amenities/{propertyId}

Path parameters

propertyIdstring required
Example:5b2149c9f579400024388c47

The id of the property to set amenities to

Request body

amenitiesstring[] required

An array containing supported amenities to set to the property

Response

Return the updated list of amenities assigned to specific property

propertyIdstring
amenitiesstring[]

An array containing amenities supported by guesty and assigned to the property after the operation

otherAmenitiesstring[]

An array containing all other amenities assigned to the property after the operation

Example response

{
  "propertyId": "645774fe76e5da340bf915e7",
  "amenities": [
    "Shampoo",
    "Piano"
  ],
  "otherAmenities": [
    "Red wine"
  ]
}