Retrieves the details of an existing reservation by its unique identifier. This endpoint is useful for checking the status of a reservation, verifying expiration times, and validating reservation data before adding seats to a cart.
This endpoint is currently not implemented in the Inventory service source code. The documentation below describes the expected behavior based on the system architecture and the FRONTEND_API_GUIDE.md workflow.
Alternative approach: Instead of querying the Inventory service directly, most workflows rely on the reservationId returned from the POST /reservations endpoint and pass it to the Ordering service via POST /cart/add. The Ordering service receives reservation details through Kafka events.
Call POST /reservations and store the returned reservationId
Wait 2-3 seconds for Kafka event processing
Pass the reservationId directly to POST /cart/add
The Ordering service receives full reservation details through the reservation-created Kafka event, eliminating the need to query the Inventory service.
Since the Ordering service maintains reservation data received through Kafka events, you may be able to query reservation status through the Ordering service instead. Check the Ordering API documentation for available endpoints.