Core resources
Administration
Booking flow
Possible options per attribute
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
name
jsonb
Localized name
order
integer
Order of the option in the list of options as displayed on widgets and websites
{"id": "00000000-0000-0000-0000-000000000000","attribute_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-21T14:25:20.938Z","name": {},"order": 1}
id
Filter<>
Unique identifier
attribute_id
Filter<>
Identifier of the attribute this option is defined in
created_at
Filter<>
Creation timestamp
name
Filter<>
Localized name
order
Filter<>
Order of the option in the list of options as displayed on widgets and websites
200
A list of attribute options with the selected columns
206
Partial Content
GET
/attribute_options
curl -X GET "https://api.bookingmood.com/v1/attribute_options?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<AttributeOption>
| Array<Partial<AttributeOption>>
201
The newly created attribute options with the selected columns
POST
/attribute_options
curl -X POST "https://api.bookingmood.com/v1/attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
attribute_id
Filter<>
Identifier of the attribute this option is defined in
created_at
Filter<>
Creation timestamp
name
Filter<>
Localized name
order
Filter<>
Order of the option in the list of options as displayed on widgets and websites
204
The deleted attribute options with the selected columns
DELETE
/attribute_options
curl -X DELETE "https://api.bookingmood.com/v1/attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
attribute_id
Filter<>
Identifier of the attribute this option is defined in
created_at
Filter<>
Creation timestamp
name
Filter<>
Localized name
order
Filter<>
Order of the option in the list of options as displayed on widgets and websites
Partial<AttributeOption>
204
The updated attribute options with the selected columns
PATCH
/attribute_options
curl -X PATCH "https://api.bookingmood.com/v1/attribute_options" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'