Bookings
Bookings related to Holidaze
These are authenticated endpoints. You can visit authentication to get an access token.
This endpoint allows you to create, read, update and delete bookings.
These endpoints support pagination and sorting. Read more about these features here.
The Booking model
Prop | Type | Default |
---|---|---|
id | string | - |
dateFrom | string | - |
dateTo | string | - |
guests | integer | - |
created | string | - |
updated | string | - |
Query parameters
Not all of the properties of a booking are returned by default. You can use the following optional query parameters to include additional properties in the response.
Prop | Type | Default |
---|---|---|
_customer | boolean | false |
_venue | boolean | false |
All bookings
Retrieve all bookings.
If you want to get all bookings by a specific profile, you can use the bookings by profile endpoint.
Single booking
Retrieve a single booking based on its id.
Create booking
Create a new booking.
Update booking
Updating a booking.
Delete booking
Delete a booking based on its id.
Returns an empty 204 response on success.