An AreaBooking is a confirmed reservation of one or more
BookableAreas — for example a pool cabana, treatment pod, or
poolside lounger — against a customer order. Area bookings are
created via the basket pipeline when an AreaBookingType is
added to a basket, and remain the source of truth for the
reservation throughout its lifecycle.
The name of the AreaBookingType at the time the booking was
made. This is captured at booking time so the value remains
stable even if the parent type is later renamed.
Retrieves a single AreaBooking by ID. Use this when you have an
AreaBooking ID from createBasketAreaBookingItem, a webhook
payload, or a calendar view and need the canonical reservation
record — including which BookableAreas are assigned, the
customer details, and the parent order context.
The unique identifier of the AreaBooking. An area booking is a
reservation of one or more BookableAreas for a contiguous period
of time, typically created via the basket as part of an order.
Updates an existing AreaBooking — typically to reassign the
booked areas, reschedule the time slot, adjust the duration, or
progress the parent order through its check-in stages.
The update is routed through the basket / availability layer, so
every change is validated against the same rules as a fresh
booking: overlapping area reservations, capacity, site opening
hours, and the parent AreaBookingType's permitted areas are all
enforced. Users with the reservations.override-rules permission
can bypass these checks server-side; everyone else will receive a
400 Bad Request describing the conflict.
When only stage is supplied the booking slot is left untouched
and the change is applied to the parent order, saving the
availability round-trip entirely.
With Advanced Yield Management, a move that would change the area
booking's accepted yield price never reprices silently. Send
keep_price: true with agreed_price to keep the agreed price, or
pricing_acceptance_token to charge the price quoted by
updateAreaBookingCheck. A move that sends neither is refused with
a 400 whose reason_code is pricing_choice_required and whose
pricing holds the quote, and nothing moves.
The unique identifier of the AreaBooking. An area booking is a
reservation of one or more BookableAreas for a contiguous period
of time, typically created via the basket as part of an order.
Replace the set of BookableAreas assigned to this booking.
Each area must permit the parent AreaBookingType and must be
available for the booking's time slot.
Move the booking so it starts at this date and time. If
end_time is not also supplied it will be recalculated from
the existing duration. Must be an RFC 3339 timestamp with
offset.
Set the booking duration in minutes. Must be positive. When
only duration is supplied the booking's end_time is
recalculated from the current start_time.
Keep the area booking's agreed yield price when the move would
change it. A move that would change an accepted yield price
must send this or pricing_acceptance_token, or it is refused
with reason_codepricing_choice_required. Cannot be sent
with pricing_acceptance_token. Needs reservations.manage.
The agreed price staff chose to keep, per unit in minor units:
the pricing.agreed_price from updateAreaBookingCheck. Needed
with keep_price: true. A move whose agreed price has changed
since the check is refused with requote_required.
Charge the new yield price: the pricing.acceptance_token from
updateAreaBookingCheck or from a pricing_choice_required
refusal. A quote that has expired at a changed price is refused
with requote_required. Cannot be sent with keep_price.
Move the parent order through its check-in flow. When stage
is the only field provided the availability layer is skipped
entirely. Pass null to clear the stage back to the default.
Possible values:arrivedin_treatmentchecked_out
Responses
200
The AreaBooking was successfully updated.
400
The update is not allowed by availability or basket rules, or
the move would change an accepted yield price and neither
keep_price nor pricing_acceptance_token was sent
(pricing_choice_required).
Dry-runs an AreaBooking move without persisting the change.
Reports whether moving the booking to the proposed start time and
duration would be allowed, and with Advanced Yield Management, the
price the move would charge when it would change the booking's
accepted yield price.
The body is a subset of UpdateAreaBooking (area_ids,
start_time and duration). Use PUT /shop/area-bookings/{areaBookingId} to make the move.
The calendar calls this when an area booking is dropped on a new
time, to show staff any conflict and, when pricing is set, the
agreed and new price to choose between.
The unique identifier of the AreaBooking. An area booking is a
reservation of one or more BookableAreas for a contiguous period
of time, typically created via the basket as part of an order.