Core resources
Administration
Booking flow
Attributes to segment and filter units by
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this attribute is defined in
created_at
timestamp with time zone
Creation timestamp
name
jsonb
Localized name
order
integer
Order of the attribute displayed on widgets and websites
type
"single-select" | "multi-select"
Attribute type, either single-select of multi-select
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-09-08T00:38:41.826Z","name": {},"order": 1,"type": "single-select"}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this attribute is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
Order of the attribute displayed on widgets and websites
type
Filter<"single-select" | "multi-select">
Attribute type, either single-select of multi-select
200
A list of attributes with the selected columns
206
Partial Content
GET
/attributes
curl -X GET "https://api.bookingmood.com/v1/attributes?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Attribute>
| Array<Partial<Attribute>>
201
The newly created attributes with the selected columns
POST
/attributes
curl -X POST "https://api.bookingmood.com/v1/attributes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this attribute is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
Order of the attribute displayed on widgets and websites
type
Filter<"single-select" | "multi-select">
Attribute type, either single-select of multi-select
204
The deleted attributes with the selected columns
DELETE
/attributes
curl -X DELETE "https://api.bookingmood.com/v1/attributes" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this attribute is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
Order of the attribute displayed on widgets and websites
type
Filter<"single-select" | "multi-select">
Attribute type, either single-select of multi-select
Partial<Attribute>
204
The updated attributes with the selected columns
PATCH
/attributes
curl -X PATCH "https://api.bookingmood.com/v1/attributes" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'