POST
Bulk create property rooms

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

property_id
string<uuid>
required

Property ID

Body

application/json

JSON payload used to bulk create property rooms.

Request payload for bulk create rooms.

count
integer<int32>
required

Number of rows represented by the response metadata.

Required range: 1 <= x <= 50
Example:

10

name_prefix
string | null

name prefix value for bulk create rooms request.

Maximum string length: 80
Example:

"Phòng"

start_number
integer<int32> | null

start number value for bulk create rooms request.

Required range: 1 <= x <= 9999
Example:

1

floor
string | null

Floor label or number where the room is located.

Maximum string length: 80
base_rent
string | null

Default monthly rent amount for the room.

Example:

"3000000"

default_deposit
string | null

Default deposit amount used when creating leases.

Example:

"3000000"

area_m2
number<double> | null

Room area in square meters.

Required range: x >= 0
note
string | null

Optional note captured by the operator.

Maximum string length: 1000

Response

Created rooms atomically for owner onboarding

data
object
required

Endpoint-specific response payload. See the referenced schema for the resource fields.

request_id
string
required

Request correlation identifier returned from X-Request-Id or generated by the API.

meta
object

Optional response metadata such as pagination limits, counts, or export context.