Core resources
Administration
Booking flow
Booking details as filled in by guests in the booking form
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
name
jsonb
Localized name of the form field
value
text | null
Value filled in by the customer
{"id": "00000000-0000-0000-0000-000000000000","booking_id": "00000000-0000-0000-0000-000000000000","option_id": "00000000-0000-0000-0000-000000000000","service_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T10:18:26.233Z","updated_at": "2024-11-21T10:18:26.233Z","name": {},"value": ""}
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
option_id
Filter<>
Identifier of the selected option
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name of the form field
value
Filter<>
Value filled in by the customer
200
A list of booking details with the selected columns
206
Partial Content
GET
/booking_details
curl -X GET "https://api.bookingmood.com/v1/booking_details?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<BookingDetail>
| Array<Partial<BookingDetail>>
201
The newly created booking details with the selected columns
POST
/booking_details
curl -X POST "https://api.bookingmood.com/v1/booking_details" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
option_id
Filter<>
Identifier of the selected option
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name of the form field
value
Filter<>
Value filled in by the customer
204
The deleted booking details with the selected columns
DELETE
/booking_details
curl -X DELETE "https://api.bookingmood.com/v1/booking_details" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
booking_id
Filter<>
Identifier of the related booking
option_id
Filter<>
Identifier of the selected option
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
name
Filter<>
Localized name of the form field
value
Filter<>
Value filled in by the customer
Partial<BookingDetail>
204
The updated booking details with the selected columns
PATCH
/booking_details
curl -X PATCH "https://api.bookingmood.com/v1/booking_details" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'