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-09-08T01:09:29.139Z","updated_at": "2024-09-08T01:09:29.139Z","confirmed_at": "2024-09-08T01:09:29.139Z","currency": "","display_currency": "","exchange_rate": 0,"method": "request","occupancy": {},"reference": "","secret": "extensions.uuid_generate_v4()","silent": false}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this booking is defined in
site_id
Filter<uuid>
Identifier of the site this booking was made on
widget_id
Filter<uuid>
Identifier of the widget this booking was made in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
confirmed_at
Filter<timestamp with time zone>
Timestamp at which the booking was confirmed
currency
Filter<text>
Base currency of the booking
display_currency
Filter<text>
Currency used to display prices to the customer
exchange_rate
Filter<real>
Exchange rate used to convert the booking currency to the display currency
method
Filter<text>
Method used to make the booking, request
or book
occupancy
Filter<jsonb>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<text>
Publicly visible reference of the booking
secret
Filter<text>
Secret reference of the booking
silent
Filter<boolean>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this booking is defined in
site_id
Filter<uuid>
Identifier of the site this booking was made on
widget_id
Filter<uuid>
Identifier of the widget this booking was made in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
confirmed_at
Filter<timestamp with time zone>
Timestamp at which the booking was confirmed
currency
Filter<text>
Base currency of the booking
display_currency
Filter<text>
Currency used to display prices to the customer
exchange_rate
Filter<real>
Exchange rate used to convert the booking currency to the display currency
method
Filter<text>
Method used to make the booking, request
or book
occupancy
Filter<jsonb>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<text>
Publicly visible reference of the booking
secret
Filter<text>
Secret reference of the booking
silent
Filter<boolean>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this booking is defined in
site_id
Filter<uuid>
Identifier of the site this booking was made on
widget_id
Filter<uuid>
Identifier of the widget this booking was made in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
confirmed_at
Filter<timestamp with time zone>
Timestamp at which the booking was confirmed
currency
Filter<text>
Base currency of the booking
display_currency
Filter<text>
Currency used to display prices to the customer
exchange_rate
Filter<real>
Exchange rate used to convert the booking currency to the display currency
method
Filter<text>
Method used to make the booking, request
or book
occupancy
Filter<jsonb>
Occupancy per occupancy group. Formatted as Record<occupancy_group_id, occupancy>
reference
Filter<text>
Publicly visible reference of the booking
secret
Filter<text>
Secret reference of the booking
silent
Filter<boolean>
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 '{}'