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
cooldown_time
integer
Minimum number of days between bookings
early_bird_adjustments
jsonb
Rate adjustments for early bookings
fts
tsvector
Full text search index
intervals
datemultirange
last_minute_adjustments
jsonb
Rate adjustments for last minute bookings
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-05-11T21:00:06.730Z","updated_at": "2024-05-11T21:00:06.730Z","check_in_days": [false],"checkout_days": [false],"color": "#FACC15","cooldown_time": 0,"early_bird_adjustments": {},"intervals": null,"last_minute_adjustments": {},"long_rent_adjustments": {},"max_advance": 365,"max_duration": 30,"min_advance": 0,"min_duration": 1,"name": {},"order": 0,"rates": {}}
id
Filter<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
check_in_days
Filter<boolean[]>
List of days of the week on which check-in is possible
checkout_days
Filter<boolean[]>
List of days of the week on which check-out is possible
color
Filter<text>
Color to distinguish the configuration from others
cooldown_time
Filter<integer>
Minimum number of days between bookings
early_bird_adjustments
Filter<jsonb>
Rate adjustments for early bookings
fts
Filter<tsvector>
Full text search index
intervals
Filter<datemultirange>
last_minute_adjustments
Filter<jsonb>
Rate adjustments for last minute bookings
long_rent_adjustments
Filter<jsonb>
Rate adjustments for long bookings
max_advance
Filter<integer>
Maximum number of days between booking and arrival
max_duration
Filter<integer>
Maximum duration of a booking in days
min_advance
Filter<integer>
Minimum number of days between booking and arrival
min_duration
Filter<integer>
Minimum duration of a booking in days
name
Filter<jsonb>
Localized name
order
Filter<integer>
rates
Filter<jsonb>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
check_in_days
Filter<boolean[]>
List of days of the week on which check-in is possible
checkout_days
Filter<boolean[]>
List of days of the week on which check-out is possible
color
Filter<text>
Color to distinguish the configuration from others
cooldown_time
Filter<integer>
Minimum number of days between bookings
early_bird_adjustments
Filter<jsonb>
Rate adjustments for early bookings
fts
Filter<tsvector>
Full text search index
intervals
Filter<datemultirange>
last_minute_adjustments
Filter<jsonb>
Rate adjustments for last minute bookings
long_rent_adjustments
Filter<jsonb>
Rate adjustments for long bookings
max_advance
Filter<integer>
Maximum number of days between booking and arrival
max_duration
Filter<integer>
Maximum duration of a booking in days
min_advance
Filter<integer>
Minimum number of days between booking and arrival
min_duration
Filter<integer>
Minimum duration of a booking in days
name
Filter<jsonb>
Localized name
order
Filter<integer>
rates
Filter<jsonb>
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<uuid>
Unique identifier
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
check_in_days
Filter<boolean[]>
List of days of the week on which check-in is possible
checkout_days
Filter<boolean[]>
List of days of the week on which check-out is possible
color
Filter<text>
Color to distinguish the configuration from others
cooldown_time
Filter<integer>
Minimum number of days between bookings
early_bird_adjustments
Filter<jsonb>
Rate adjustments for early bookings
fts
Filter<tsvector>
Full text search index
intervals
Filter<datemultirange>
last_minute_adjustments
Filter<jsonb>
Rate adjustments for last minute bookings
long_rent_adjustments
Filter<jsonb>
Rate adjustments for long bookings
max_advance
Filter<integer>
Maximum number of days between booking and arrival
max_duration
Filter<integer>
Maximum duration of a booking in days
min_advance
Filter<integer>
Minimum number of days between booking and arrival
min_duration
Filter<integer>
Minimum duration of a booking in days
name
Filter<jsonb>
Localized name
order
Filter<integer>
rates
Filter<jsonb>
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 '{}'