// Request to list all bookings for a usermessageListBookingsRequest{// ID of the user (required)stringuser_id=1;}// Response for the ListBookings RPC with all bookings for the requested user.messageListBookingsResponse{// All bookings of the user (required)repeatedBookingbookings=1;}
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis service retrieves a list of a user's upcoming bookings across all merchants.\u003c/p\u003e\n"],["\u003cp\u003ePast and cancelled bookings are excluded from the results.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a user ID to identify the user for which the bookings are being listed.\u003c/p\u003e\n"],["\u003cp\u003eThe response returns a list of Booking objects, representing the user's upcoming reservations.\u003c/p\u003e\n"]]],["The `ListBookingsRequest` retrieves a user's future bookings, excluding past or cancelled ones, by utilizing a required `user_id`. The `ListBookingsResponse` returns a list of `Booking` objects, representing all future bookings associated with the specified user. The response contains a repeated `bookings` field, which is mandatory.\n"],null,["# ListBookings method\n\nThis method returns future bookings for a user at any merchant. This method\nshould not return past bookings or cancelled bookings.\n\n**Request**\n\nListBookingsRequest\n\n**Return value**\n\nListBookingsResponse \n\n```scilab\n// Request to list all bookings for a user\nmessage ListBookingsRequest {\n // ID of the user (required)\n string user_id = 1;\n}\n\n// Response for the ListBookings RPC with all bookings for the requested user.\nmessage ListBookingsResponse {\n // All bookings of the user (required)\n repeated Booking bookings = 1;\n}\n```"]]