Amenities

Update amenity

PUT
https://api.propexo.com/v1/amenities/:amenity_id
Update an amenity for an integration.

Path parameters

amenity_id
string

Request

This endpoint expects an object.
name
optional string
The name associated with the amenity
description
optional string
Description of the amenity
is_published
optional boolean
Whether the amenity should be published

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/:amenity_id
curl -X PUT https://api.propexo.com/v1/amenities/amenity_id \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
Response
{
"job_id": "job_id",
"data": {}
}