Spaces

Edit space beds

post/properties/spaces/space/{spaceId}/edit

Request

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

Path parameters

spaceIdstring required

spaceId to edit

Request body

Example request

{
  "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
  }
}

Response

Returns the edited space

unitTypeIdstring
bedroomsAllowedboolean

Example response

{
  "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.