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-09-08T01:52:36.831Z","name": {},"order": 1}
id
Filter<uuid>
Unique identifier
attribute_id
Filter<uuid>
Identifier of the attribute this option is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
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<uuid>
Unique identifier
attribute_id
Filter<uuid>
Identifier of the attribute this option is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
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<uuid>
Unique identifier
attribute_id
Filter<uuid>
Identifier of the attribute this option is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
name
Filter<jsonb>
Localized name
order
Filter<integer>
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 '{}'