Core resources
Administration
Booking flow
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this booking is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
confirmed_at
timestamp with time zone | null
Timestamp at which the booking was confirmed
currency
text
Base currency of the booking
display_currency
text
Currency used to display prices to the customer
exchange_rate
real
Exchange rate used to convert the booking currency to the display currency
method
text
Method used to make the booking, request
or book
occupancy
jsonb
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
text
Publicly visible reference of the booking
secret
text
Secret reference of the booking
silent
boolean
Whether the booking was made without automatically sending a confirmation email
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","site_id": "00000000-0000-0000-0000-000000000000","widget_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T14:08:29.839Z","updated_at": "2024-11-21T14:08:29.839Z","confirmed_at": "2024-11-21T14:08:29.839Z","currency": "","display_currency": "","exchange_rate": 0,"method": "request","occupancy": {},"reference": "","secret": "extensions.uuid_generate_v4()","silent": false}
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this booking is defined in
site_id
Filter<>
Identifier of the site this booking was made on
widget_id
Filter<>
Identifier of the widget this booking was made in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
confirmed_at
Filter<>
Timestamp at which the booking was confirmed
currency
Filter<>
Base currency of the booking
display_currency
Filter<>
Currency used to display prices to the customer
exchange_rate
Filter<>
Exchange rate used to convert the booking currency to the display currency
method
Filter<>
Method used to make the booking, request
or book
occupancy
Filter<>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<>
Publicly visible reference of the booking
secret
Filter<>
Secret reference of the booking
silent
Filter<>
Whether the booking was made without automatically sending a confirmation email
200
A list of bookings with the selected columns
206
Partial Content
GET
/bookings
curl -X GET "https://api.bookingmood.com/v1/bookings?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Booking>
| Array<Partial<Booking>>
201
The newly created bookings with the selected columns
POST
/bookings
curl -X POST "https://api.bookingmood.com/v1/bookings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this booking is defined in
site_id
Filter<>
Identifier of the site this booking was made on
widget_id
Filter<>
Identifier of the widget this booking was made in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
confirmed_at
Filter<>
Timestamp at which the booking was confirmed
currency
Filter<>
Base currency of the booking
display_currency
Filter<>
Currency used to display prices to the customer
exchange_rate
Filter<>
Exchange rate used to convert the booking currency to the display currency
method
Filter<>
Method used to make the booking, request
or book
occupancy
Filter<>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<>
Publicly visible reference of the booking
secret
Filter<>
Secret reference of the booking
silent
Filter<>
Whether the booking was made without automatically sending a confirmation email
204
The deleted bookings with the selected columns
DELETE
/bookings
curl -X DELETE "https://api.bookingmood.com/v1/bookings" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this booking is defined in
site_id
Filter<>
Identifier of the site this booking was made on
widget_id
Filter<>
Identifier of the widget this booking was made in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
confirmed_at
Filter<>
Timestamp at which the booking was confirmed
currency
Filter<>
Base currency of the booking
display_currency
Filter<>
Currency used to display prices to the customer
exchange_rate
Filter<>
Exchange rate used to convert the booking currency to the display currency
method
Filter<>
Method used to make the booking, request
or book
occupancy
Filter<>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<>
Publicly visible reference of the booking
secret
Filter<>
Secret reference of the booking
silent
Filter<>
Whether the booking was made without automatically sending a confirmation email
Partial<Booking>
204
The updated bookings with the selected columns
PATCH
/bookings
curl -X PATCH "https://api.bookingmood.com/v1/bookings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'