---
updatedAt: 2026-04-23T09:30:40.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Update multiple unit-type house-rules

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "House Rules"
    }
  ],
  "paths": {
    "/properties/house-rules/": {
      "post": {
        "tags": [
          "House Rules"
        ],
        "summary": "Update multiple unit-type house-rules",
        "requestBody": {
          "description": "house rules objects to edit",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "unitTypeId": {
                      "type": "string",
                      "example": "5d6e7a7ebf8e3800207735ae"
                    },
                    "houseRules": {
                      "type": "object",
                      "properties": {
                        "suitableForChildren": {
                          "type": "boolean"
                        },
                        "suitableForInfants": {
                          "type": "boolean"
                        },
                        "petsAllowed": {
                          "type": "boolean"
                        },
                        "petsCharged": {
                          "type": "boolean"
                        },
                        "smokingAllowed": {
                          "type": "boolean"
                        },
                        "partiesAllowed": {
                          "type": "boolean"
                        },
                        "additionalRules": {
                          "type": "string"
                        },
                        "quietHours": {
                          "type": "object",
                          "properties": {
                            "set": {
                              "type": "boolean"
                            },
                            "start": {
                              "type": "string"
                            },
                            "end": {
                              "type": "string"
                            }
                          }
                        },
                        "minimumAge": {
                          "type": "integer"
                        }
                      },
                      "example": {
                        "suitableForChildren": true,
                        "suitableForInfants": false,
                        "petsAllowed": true,
                        "petsCharged": true,
                        "smokingAllowed": false,
                        "partiesAllowed": false,
                        "additionalRules": "No alcohol",
                        "quietHours": {
                          "set": true,
                          "start": "22:00",
                          "end": "08:00"
                        },
                        "minimumAge": 21
                      }
                    }
                  },
                  "example": {
                    "unitTypeId": "5accf6954c5ed10025902aed",
                    "houseRules": {
                      "childrenRules": {
                        "suitableForChildren": true,
                        "suitableForInfants": true,
                        "reason": "Children rules reason"
                      },
                      "petsAllowed": {
                        "enabled": true,
                        "chargeType": "Credit"
                      },
                      "smokingAllowed": {
                        "enabled": false
                      },
                      "suitableForEvents": {
                        "enabled": false
                      },
                      "additionalRules": "No alcohol",
                      "quietBetween": {
                        "enabled": true,
                        "hours": {
                          "start": "22:00",
                          "end": "08:00"
                        }
                      },
                      "minimumAge": 21
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "House rules fields of unitTypes",
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "suitableForChildren": {
                        "type": "boolean"
                      },
                      "suitableForInfants": {
                        "type": "boolean"
                      },
                      "petsAllowed": {
                        "type": "boolean"
                      },
                      "petsCharged": {
                        "type": "boolean"
                      },
                      "smokingAllowed": {
                        "type": "boolean"
                      },
                      "partiesAllowed": {
                        "type": "boolean"
                      },
                      "additionalRules": {
                        "type": "string"
                      },
                      "quietHours": {
                        "type": "object",
                        "properties": {
                          "set": {
                            "type": "boolean"
                          },
                          "start": {
                            "type": "string"
                          },
                          "end": {
                            "type": "string"
                          }
                        }
                      },
                      "minimumAge": {
                        "type": "integer"
                      }
                    },
                    "example": {
                      "suitableForChildren": true,
                      "suitableForInfants": false,
                      "petsAllowed": true,
                      "petsCharged": true,
                      "smokingAllowed": false,
                      "partiesAllowed": false,
                      "additionalRules": "No alcohol",
                      "quietHours": {
                        "set": true,
                        "start": "22:00",
                        "end": "08:00"
                      },
                      "minimumAge": 21
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```