Spaces

Retrieve spaces for a complex

get/properties/spaces/complex/{complexId}

Request

  • Base URL
    https://open-api.guesty.com/v1
  • URL
    https://open-api.guesty.com/v1/properties/spaces/complex/{complexId}
  • Auth
    API key in header authorization

Path parameters

complexIdstring required

ID of the requested complexId

Response

Returns spaces for a requested Complex

complexIdstring

Example response

{
  "complexId": "5d6e7a7ebf8e3800207735ae",
  "unitTypeSpaces": [
    {
      "unitTypeId": "5d6e7a7ebf8e3800207735ae",
      "spaces": [
        {
          "unitTypeId": "5d6e7a7ebf8e3800207735ae",
          "accountId": "5d6e7a7ebf8e3800207735ae",
          "name": "Space room",
          "beds": {
            "KING_BED": 1,
            "QUEEN_BED": 1,
            "DOUBLE_BED": 1,
            "SINGLE_BED": 1,
            "SOFA_BED": 1,
            "AIR_MATTRESS": 1,
            "BUNK_BED": 1
          },
          "other": {
            "FLOOR_MATTRESS": 1,
            "WATER_BED": 1,
            "TODDLER_BED": 1,
            "CRIB": 1
          }
        }
      ],
      "bedroomsAllowed": true,
      "bathrooms": {
        "SHARED": 1,
        "PRIVATE": 1
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.