# Update Property Type **PATCH /v1/property-types/{propertyTypeId}** Update Property Type ## Servers - https://api.lwolf.com/backoffice: https://api.lwolf.com/backoffice () ## Parameters ### Path parameters - **propertyTypeId** (string(uuid)) The id of the property type. ### Body: application/json (object) The properties on the property type to update. - **name** (string | null) The name of the property type. - **shortName** (string | null) The short name of the property type. - **rental** (boolean) Indicates whether the property type is for rental property transactions. ## Responses ### 200 Request succeeded. #### Body: application/json (object) - **id** (string(uuid)) The unique id. - **createdTimestamp** (string(date-time) | null) The date and time of creation in UTC time. - **modifiedTimestamp** (string(date-time) | null) The date and time last modification in UTC time. - **name** (string) The name of the property type. - **shortName** (string | null) The short name of the property type. - **code** (string) The unique code for the property type. - **classCode** (string) The code representing the class of the property type. This will be either "C" for commercial or "R" for residential. - **rental** (boolean) Indicates whether the property type is for rental property transactions. ### 400 Invalid request. See response body for details. #### Body: application/json (object) - **id** (string) The unique identifier for the error. - **code** (integer(int32)) A code used to help identify the type of error. This is typically set to the same value as the http status code. - **message** (string) A summary or short message describing the error. - **details** (array[string] | null) A list of more detailed errors messages. ### 401 Unauthorized. See response body for details. #### Body: application/json (object) - **id** (string) The unique identifier for the error. - **code** (integer(int32)) A code used to help identify the type of error. This is typically set to the same value as the http status code. - **message** (string) A summary or short message describing the error. - **details** (array[string] | null) A list of more detailed errors messages. ### 403 Permission denied. See response body for details. #### Body: application/json (object) - **id** (string) The unique identifier for the error. - **code** (integer(int32)) A code used to help identify the type of error. This is typically set to the same value as the http status code. - **message** (string) A summary or short message describing the error. - **details** (array[string] | null) A list of more detailed errors messages. ### 404 Not found. See response body for details. #### Body: application/json (object) - **id** (string) The unique identifier for the error. - **code** (integer(int32)) A code used to help identify the type of error. This is typically set to the same value as the http status code. - **message** (string) A summary or short message describing the error. - **details** (array[string] | null) A list of more detailed errors messages. ### 422 Validation failed. See response body for details. #### Body: application/json (object) - **id** (string) The unique identifier for the error. - **code** (integer(int32)) A code used to help identify the type of error. This is typically set to the same value as the http status code. - **message** (string) A summary or short message describing the error. - **details** (array[string] | null) A list of more detailed errors messages. [Powered by Bump.sh](https://bump.sh)