Amenities

  1. List amenities
  2. Get a single amenity

Parameters

Name Type Read/Write Description
id Integer Read Amenity’s id.
key String Read Amenity’s key.
title Object Read Amenity’s title, list of locales described in enums section.

List amenities

List all amenities for a given account(s). Amenities can repeat because each rental has it’s own set of amenities.

GET /amenities

Response

{
  "amenities": [
    {
      "id": 1,
      "key": "internet",
      "title": {
        "en": "Internet"
      }
    }
  ],
  "meta": {
  }
}

Get a single amenity

Returns a single amenity identified by ID.

GET /amenities/:amenity_id

Response

{
  "amenities": [
    {
      "id": 1,
      "key": "internet",
      "title": {
        "en": "Internet"
      }
    }
  ],
  "meta": {
  }
}