Core resources
Administration
Booking flow
Rate and availability configurations. Applied per unit on multiple intervals
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
check_in_days
boolean[]
List of days of the week on which check-in is possible
checkout_days
boolean[]
List of days of the week on which check-out is possible
color
text
Color to distinguish the configuration from others
fts
tsvector
Full text search index
intervals
datemultirange
long_rent_adjustments
jsonb
Rate adjustments for long bookings
max_advance
integer
Maximum number of days between booking and arrival
max_duration
integer
Maximum duration of a booking in days
min_advance
integer
Minimum number of days between booking and arrival
min_duration
integer
Minimum duration of a booking in days
name
jsonb
Localized name
order
integer
rates
jsonb
Base rates
{"id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-06T04:04:21.100Z","updated_at": "2024-12-06T04:04:21.100Z","check_in_days": [false],"checkout_days": [false],"color": "#FACC15","intervals": null,"long_rent_adjustments": {},"max_advance": 365,"max_duration": 30,"min_advance": 0,"min_duration": 1,"name": {},"order": 0,"rates": {}}
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
check_in_days
Filter<>
List of days of the week on which check-in is possible
checkout_days
Filter<>
List of days of the week on which check-out is possible
color
Filter<>
Color to distinguish the configuration from others
fts
Filter<>
Full text search index
intervals
Filter<>
long_rent_adjustments
Filter<>
Rate adjustments for long bookings
max_advance
Filter<>
Maximum number of days between booking and arrival
max_duration
Filter<>
Maximum duration of a booking in days
min_advance
Filter<>
Minimum number of days between booking and arrival
min_duration
Filter<>
Minimum duration of a booking in days
name
Filter<>
Localized name
order
Filter<>
rates
Filter<>
Base rates
200
A list of product configurations with the selected columns
206
Partial Content
GET
/product_configurations
curl -X GET "https://api.bookingmood.com/v1/product_configurations?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ProductConfiguration>
| Array<Partial<ProductConfiguration>>
201
The newly created product configurations with the selected columns
POST
/product_configurations
curl -X POST "https://api.bookingmood.com/v1/product_configurations" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
check_in_days
Filter<>
List of days of the week on which check-in is possible
checkout_days
Filter<>
List of days of the week on which check-out is possible
color
Filter<>
Color to distinguish the configuration from others
fts
Filter<>
Full text search index
intervals
Filter<>
long_rent_adjustments
Filter<>
Rate adjustments for long bookings
max_advance
Filter<>
Maximum number of days between booking and arrival
max_duration
Filter<>
Maximum duration of a booking in days
min_advance
Filter<>
Minimum number of days between booking and arrival
min_duration
Filter<>
Minimum duration of a booking in days
name
Filter<>
Localized name
order
Filter<>
rates
Filter<>
Base rates
204
The deleted product configurations with the selected columns
DELETE
/product_configurations
curl -X DELETE "https://api.bookingmood.com/v1/product_configurations" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
check_in_days
Filter<>
List of days of the week on which check-in is possible
checkout_days
Filter<>
List of days of the week on which check-out is possible
color
Filter<>
Color to distinguish the configuration from others
fts
Filter<>
Full text search index
intervals
Filter<>
long_rent_adjustments
Filter<>
Rate adjustments for long bookings
max_advance
Filter<>
Maximum number of days between booking and arrival
max_duration
Filter<>
Maximum duration of a booking in days
min_advance
Filter<>
Minimum number of days between booking and arrival
min_duration
Filter<>
Minimum duration of a booking in days
name
Filter<>
Localized name
order
Filter<>
rates
Filter<>
Base rates
Partial<ProductConfiguration>
204
The updated product configurations with the selected columns
PATCH
/product_configurations
curl -X PATCH "https://api.bookingmood.com/v1/product_configurations" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'