The field door_type
has these possible values: roll_up
, swing
, none
The field access_type
has these possible values: indoor
, outdoor
PUT /v1/eb414ba2-9917-4cf7-addf-292a95aa28e2/units/d8739f14-07a6-48a5-bfc8-2639708fd944 { "unit": { "name": "new unit name", "width": 8, "length": 9, "height": 10, "door_height": 8, "door_width": 9, "door_type": "swing", "access_type": "outdoor", "floor": 0, "walk_thru_order": 5, "standard_rate": 847.75, "rentable": false, "combination_lock_number": "12321", "attribute_description": "", "tax_rates": [ "844ef046-6167-424b-b613-ab94f1d08bba" ], "unit_amenities": [ "edecec5c-7a96-425b-a8a5-286c893356e0" ], "unit_type": "eb618b13-439b-4a6c-a720-f40e6be5e5e0" } } 200 { "unit": { "id": "d8739f14-07a6-48a5-bfc8-2639708fd944", "price": 847.75, "name": "new unit name", "description": "Amenity 1, 0th floor", "width": 8.0, "length": 9.0, "height": 10.0, "door_height": 8.0, "door_width": 9.0, "door_type": "swing", "access_type": "outdoor", "floor": 0, "directions": null, "size": "8x9x10", "area": 40.0, "standard_rate": 847.75, "managed_rate": null, "available_for_move_in": false, "rentable": false, "status": "vacant", "payment_status": null, "current_ledger_id": null, "current_tenant_id": null, "combo_lock_group": null, "combination_lock_number": "12321", "overlock_lock_number": null, "attribute_description": "", "deleted": false, "damaged": false, "complimentary": null, "unrentable": true, "company_owned": false, "is_prepped": null, "tiering": { "cross_sell_group_id": 2006, "descriptor": "No Tier", "tiered_amenities": [] }, "custom_fields": [], "channel_rate": null, "unit_amenities": [ { "id": "edecec5c-7a96-425b-a8a5-286c893356e0", "name": "Amenity 1", "short_code": "A11", "show_in_sales_center_filter_dropdown": false, "deleted": false, "primary_key_id": 192 } ], "unit_type": { "id": "eb618b13-439b-4a6c-a720-f40e6be5e5e0", "name": "Unit Type 87", "deleted": false, "internal_account_code": "4000", "code_and_description": "4000 - Rental Revenue", "ii_excluded": [] }, "unit_group_id": "c665732d-9dd9-4e49-8fd1-a2e012a2c6ba" }, "meta": { "status_code": 200, "status_message": "OK", "status_cat": "https://http.cat/200", "request_method": "PUT", "request_id": null, "parameters": { "unit": { "name": "new unit name", "width": 8, "length": 9, "height": 10, "door_height": 8, "door_width": 9, "door_type": "swing", "access_type": "outdoor", "floor": 0, "walk_thru_order": 5, "standard_rate": 847.75, "rentable": false, "combination_lock_number": "12321", "attribute_description": "", "tax_rates": [ "844ef046-6167-424b-b613-ab94f1d08bba" ], "unit_amenities": [ "edecec5c-7a96-425b-a8a5-286c893356e0" ], "unit_type": "eb618b13-439b-4a6c-a720-f40e6be5e5e0" }, "facility_id": "eb414ba2-9917-4cf7-addf-292a95aa28e2", "id": "d8739f14-07a6-48a5-bfc8-2639708fd944" } } }
Param name | Description |
---|---|
unit required |
Value: Must be a Hash |
unit[name] optional |
Value: Must be a String |
unit[width] optional |
Value: Must be a Integer |
unit[length] optional |
Value: Must be a Integer |
unit[height] optional |
Value: Must be a Integer |
unit[door_height] optional |
Value: Must be a Integer |
unit[door_width] optional |
Value: Must be a Integer |
unit[door_type] optional |
Value: Must be a String |
unit[access_type] optional |
Value: Must be a String |
unit[floor] optional , nil allowed |
Floor number Value: Must be a Integer |
unit[walk_thru_order] optional , nil allowed |
Number of unit in walk through order Value: Must be a Integer |
unit[standard_rate] optional |
Value: Must be a Integer |
unit[rentable] optional , nil allowed |
Is the unit rentable Value: Must be one of: <code>true</code>, <code>false</code>. |
unit[combination_lock_number] optional , nil allowed |
Value: Must be a String |
unit[overlock_lock_number] optional , nil allowed |
Value: Must be a String |
unit[attribute_description] optional , nil allowed |
Value: Must be a String |
unit[tax_rates] optional , nil allowed |
Array of tax rate uuids Value: Must be an array of String |
unit[unit_amenities] optional , nil allowed |
Array of unit amenity uuids Value: Must be an array of String |
unit[unit_type] optional |
Unit type uuid Value: Must be a String |
unit[fully_enclosed] optional , nil allowed |
True if unit is fully enclosed. If new units belong to an existing unit group, the existing group's value will take precedence. Value: Must be one of: <code>true</code>, <code>false</code>. |
unit[custom_fields] optional |
Array of custom field name and value pairs Value: Must be an array of Hash |