Booking
Last updated
Last updated
List all bookings
/bookings
Expand related resources
curl -L \
--url 'https://api.bookinglayer.io/private/bookings'
[
{
"web_check_in_status": "nobody",
"cancelled_at": "2000-01-23T04:56:07.000+00:00",
"starts_at": "2000-01-23T04:56:07.000+00:00",
"discount_total": 5.637377,
"total_price_incl_tax": 5.962134,
"invoiced_total": 2.027123,
"amount_to_refund": 1.4894159,
"channel": "partner",
"is_last_minute": true,
"created_at": "2000-01-23T04:56:07.000+00:00",
"expired_at": "2000-01-23T04:56:07.000+00:00",
"payer": "{}",
"google_analytics_client_id": "google_analytics_client_id",
"reference": "2025-0201",
"reference_suffix": "",
"duration_in_days": 1,
"expires_at": "2000-01-23T04:56:07.000+00:00",
"updated_at": "2000-01-23T04:56:07.000+00:00",
"check_in_status": "nobody",
"commission_value": 0.8008282,
"final_price_excl_tax": 2.302136,
"refund_amount": 1.0246457,
"currency": "currency",
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ends_at": "2000-01-23T04:56:07.000+00:00",
"total_price_excl_tax": 1.4658129,
"tax_component": 9.301444,
"final_price_incl_tax": 7.0614014,
"check_out_status": "nobody",
"commission_percentage": 6.0274563,
"custom_fields": "{}",
"pax": 2,
"booker_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"cancellation_fee_amount": 6.846853,
"final_tax_component": 3.6160767,
"reference_number": "0201",
"cancellation_fee_percentage": 7.4577446,
"reference_year": "2025",
"due_amount": 7.386282,
"paid_amount": 1.2315135,
"credited_total": 4.145608,
"duration_in_nights": 4,
"status": "draft",
"status_log": [
{
"date": "2000-01-23T04:56:07.000+00:00",
"status": "draft"
},
{
"date": "2000-01-23T04:56:07.000+00:00",
"status": "draft"
}
]
}
]
A list of bookings
Get a booking by ID
/bookings/{booking_id}
ID of the booking to get
Expand related resources
curl -L \
--url 'https://api.bookinglayer.io/private/bookings/{booking_id}'
{
"web_check_in_status": "nobody",
"cancelled_at": "2000-01-23T04:56:07.000+00:00",
"starts_at": "2000-01-23T04:56:07.000+00:00",
"discount_total": 5.637377,
"total_price_incl_tax": 5.962134,
"invoiced_total": 2.027123,
"amount_to_refund": 1.4894159,
"channel": "partner",
"is_last_minute": true,
"created_at": "2000-01-23T04:56:07.000+00:00",
"expired_at": "2000-01-23T04:56:07.000+00:00",
"payer": "{}",
"google_analytics_client_id": "google_analytics_client_id",
"reference": "2025-0201",
"reference_suffix": "",
"duration_in_days": 1,
"expires_at": "2000-01-23T04:56:07.000+00:00",
"updated_at": "2000-01-23T04:56:07.000+00:00",
"check_in_status": "nobody",
"commission_value": 0.8008282,
"final_price_excl_tax": 2.302136,
"refund_amount": 1.0246457,
"currency": "currency",
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"ends_at": "2000-01-23T04:56:07.000+00:00",
"total_price_excl_tax": 1.4658129,
"tax_component": 9.301444,
"final_price_incl_tax": 7.0614014,
"check_out_status": "nobody",
"commission_percentage": 6.0274563,
"custom_fields": "{}",
"pax": 2,
"booker_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"cancellation_fee_amount": 6.846853,
"final_tax_component": 3.6160767,
"reference_number": "0201",
"cancellation_fee_percentage": 7.4577446,
"reference_year": "2025",
"due_amount": 7.386282,
"paid_amount": 1.2315135,
"credited_total": 4.145608,
"duration_in_nights": 4,
"status": "draft",
"status_log": [
{
"date": "2000-01-23T04:56:07.000+00:00",
"status": "draft"
},
{
"date": "2000-01-23T04:56:07.000+00:00",
"status": "draft"
}
]
}
The booking