Amenities

Create Amenities | Units

POST
https://api.propexo.com/v1/amenities/units/:id
Create a unit amenity 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.
amenity
string
The amenity name
integration_id
string
vendor
enum
custom_data
optional object
Deprecated: Field is no longer applicable

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