创建标签

创建一个新的房间标签。可以选择通过 property_ids 预先关联房间和/或通过 room_type_ids 预先附加房型。该名称在房东账号账户中必须是唯一的(软删除的同名标签将被恢复)。颜色是从百居易调色板自动分配的,除非提供了允许的十六进制字符串之一。房东账号的房间标签上限为 500 个。

Body Params
string
required
length ≤ 15

标记显示名称。最多 15 个字符。在房东账号账户中必须是唯一的。

string
enum

十六进制颜色字符串。省略时从调色板自动分配。

Allowed:
property_ids
array of integers

要附加到新标签的房间 ID 的可选列表。

property_ids
room_type_ids
array of integers

要附加到新标签的房型 ID 的可选列表。

room_type_ids
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json