Amenities

Update amenities for unit

PUT
Update unit amenities for any integration. This is a convenience endpoint that acts as a generic proxy for all amenity creation endpoints.

Path parameters

idstringRequired

Request

This endpoint expects an object.
features
list of enumsOptional
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 returns 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
1curl -X PUT https://api.propexo.com/v1/amenities/units/id \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Updated
1{
2 "job_id": "clwh5uics000608me9v74du0a",
3 "data": {}
4}