Amenities

Update amenity

PUT
Update an amenity for an integration.

Path parameters

amenity_idstringRequired

Request

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

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/amenity_id \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Updated
1{
2 "job_id": "clwh5uics000608me9v74du0a",
3 "data": {}
4}