Confirms a pending booking or updates an existing booking with customer information. This endpoint finalizes the booking by setting its status to CONFIRMED or CANCEL. If payment is enabled and required, a Stripe checkout session is created and the Location header contains the checkout URL. Customer email and phone are required for confirmation.
OAuth2 authentication for Boseat API
Unique identifier of the booking to update
"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"
Email address of the customer. Required for booking confirmation and will be used to send confirmation emails.
Phone number of the customer in French format. Required for booking confirmation and customer support communications.
"+33612345678"
Desired status for the booking. Can be set to CONFIRMED to finalize the booking or CANCEL to cancel it. Only pending bookings can be updated.
CANCEL, CONFIRMED "CONFIRMED"
Full name of the customer. Optional but recommended for personalized communications and booking records.
"John Doe"
Array of additional product IDs to include with this booking. These are supplementary products or services (e.g., catering, equipment) that can be added to the main booking.
["prod_123", "prod_456"]Whether to enable payment processing for this booking. If true and payment is required by organization settings, a Stripe checkout session will be created.
true
URL where the user will be redirected after successful payment completion. Required if paymentEnabled is true.
"https://my-aix-coworking.boseat.com/bookings/success"
URL where the user will be redirected if they cancel the payment process. Required if paymentEnabled is true.
"https://my-aix-coworking.boseat.com/bookings/cancel"
Booking confirmed or updated successfully. If payment is enabled, check the Location header for the Stripe checkout URL.
Unique identifier (UUID) of the booking.
"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"
Product associated with this booking. Contains pricing information, duration rules, and booking conditions that apply to this reservation.
Space that has been reserved. Contains details about the physical location, capacity, and amenities available for this booking.
Current status of the booking. Possible values: PENDING (awaiting confirmation), CONFIRMED (confirmed and active), CANCEL (cancelled).
RESERVED_15_MIN, PENDING, REFUNDED, CANCEL, CONFIRMED, PAID "PENDING"
Date and time when the booking was created in the system. Format: ISO 8601 date-time.
"2024-01-15T09:00:00.000Z"
Customer information for the person or entity who made the booking. Includes contact details and customer type.
Time slot for the booking, specifying the exact start and end times when the space is reserved.
Additional products or services included with this booking. These are supplementary items beyond the main product (e.g., catering, equipment rental, parking).
[
{ "id": "prod_123", "quantity": 2 },
{ "id": "prod_456", "quantity": 1 }
]