Booking line
The Booking line object
{
"id": 30369743,
"starts_at": "2024-04-09 14:00:00",
"ends_at": "2024-04-16 10:00:00",
"status": "confirmed",
"slot": 0,
"qty": 7,
"product_id": "9d84ae87-4365-4b3f-b337-b054657df53e",
"package_id": null,
"booking_id": "3d084b8e-032d-4edc-88f9-e9c15e164a80",
"guest_id": "98194687-4737-48f8-8edc-540bafde9fd5",
"cart_id": "ced956e4-281b-4cf3-8918-b40c8e82c04e",
"currency": "EUR",
"unit_price_excl_tax": 16.8067,
"unit_price_incl_tax": 20,
"total_price_excl_tax": 117.65,
"total_price_incl_tax": 140,
"final_price_excl_tax": 100,
"final_price_incl_tax": 119,
"discounted_price": 17.65,
"tax_component": 22.35,
"discounted_tax": 3.35,
"discount_total": 21,
"final_tax_component": 19,
"cancelled_at": null,
"created_at": "2024-03-28T16:45:01+00:00",
"updated_at": "2024-03-29T08:14:49+00:00"
},Endpoints
Query parameters
limitinteger · int32 · min: 1 · max: 100OptionalDefault:
Number of guests to return
10pageinteger · int32 · min: 1OptionalDefault:
Page number
1sort_byobject · enumOptionalPossible values:
Sorts the results based on the passed field. All possible values can be appended with ",asc" or ",desc"
starts_atstringOptionalExample:
Filter by start date in local time
2021-01-01,2021-12-31Pattern: ^\d{4}-\d{2}-\d{2},\d{4}-\d{2}-\d{2}$start_timestringOptionalExample:
Filter by start time in local time
10:00Pattern: ^([01]\d|2[0-3]):([0-5]\d)$ends_atstringOptionalExample:
Filter by end date in local time
2021-01-01,2021-12-31Pattern: ^\d{4}-\d{2}-\d{2},\d{4}-\d{2}-\d{2}$end_timestringOptionalExample:
Filter by end time in local time
12:00Pattern: ^([01]\d|2[0-3]):([0-5]\d)$onsite_atstringOptionalExample:
Filter by onsite date in local time, cancelled booking lines are excluded
2021-01-01,2021-12-31Pattern: ^\d{4}-\d{2}-\d{2},\d{4}-\d{2}-\d{2}$cancelled_atstringOptionalExample:
Filter by cancelled at date in UTC
2021-01-01,2021-12-31Pattern: ^\d{4}-\d{2}-\d{2},\d{4}-\d{2}-\d{2}$booking_idstring · uuid[]Optional
ID(s) of the booking to filter booking lines by
product_idstring · uuid[]Optional
ID(s) of the product to filter booking lines by
product_variant_idstring · uuid[]Optional
ID(s) of the product variant to filter booking lines by
Responses
200
A list of booking lines
application/json
get
/booking_lines200
A list of booking lines
Webhooks
BookingLinesCreated
BookingLinesCreatedBookingLinesUpdates
BookingLinesUpdatesBookingLinesDeleted
BookingLinesDeletedBookingLinesCancelled
BookingLinesCancelledBookingLinesReinstated
BookingLinesReinstatedLast updated