Amenities

Create amenity

POST
https://api.propexo.com/v1/amenities
Create an amenity for an integration.

Request

This endpoint expects an object.
integration_id
string
property_id
optional string
The Propexo unique identifier for the property
unit_id
optional string
The Propexo unique identifier for the unit
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.
POST
/v1/amenities
curl -X POST https://api.propexo.com/v1/amenities \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"integration_id": "integration_id"
}'
Response
{
"job_id": "job_id",
"data": {}
}