Amenities

Update amenities for unit

PUT
https://api.propexo.com/v1/amenities/units/:id
Update unit amenities for any integration. This is a convenience endpoint that acts as a generic proxy for all amenity creation endpoints.

Path parameters

id
string

Request

This endpoint expects an object.
features
optional list of enums
A list of unit amenities. Any existing amenities associated with the unit that are not submitted in the request will be removed from the unit

Response

This endpoint return an object.
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
PUT
/v1/amenities/units/:id
curl -X PUT https://api.propexo.com/v1/amenities/units/id \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
Response
{
"job_id": "job_id",
"data": {}
}