Creates a new booking reservation for a space and product. The booking is initially created in PENDING status. Customer contact information (email, phone) is optional at creation but required when confirming the booking. The system verifies slot availability before creating the booking.
OAuth2 authentication for Boseat API
Unique identifier of the product to book. The product defines pricing, duration, and booking conditions.
"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"
Unique identifier of the space to book. The space represents the physical location or resource being reserved.
"b4e2d8e1-fg2e-5c3f-bbe3-234567890bcd"
Time slot for the booking, specifying when the reservation starts and ends. The slot must be available and within the space's operating hours.
Email address of the customer making the booking. Used for booking confirmation emails and customer identification. Optional during initial booking creation but required for confirmation.
Phone number of the customer in French format. Used for booking confirmations and customer support. Optional during initial booking creation but required for confirmation.
"+33612345678"
Booking created successfully in PENDING status. Use the PATCH endpoint to confirm the booking with customer details.
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 }
]