AI-generated Key Takeaways
-
This service retrieves a list of a user's upcoming bookings across all merchants.
-
Past and cancelled bookings are excluded from the results.
-
The request requires a user ID to identify the user for which the bookings are being listed.
-
The response returns a list of Booking objects, representing the user's upcoming reservations.
This method returns future bookings for a user at any merchant. This method should not return past bookings or cancelled bookings.
Request
ListBookingsRequest
Return value
ListBookingsResponse
// Request to list all bookings for a user message ListBookingsRequest { // ID of the user (required) string user_id = 1; } // Response for the ListBookings RPC with all bookings for the requested user. message ListBookingsResponse { // All bookings of the user (required) repeated Booking bookings = 1; }