קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
BatchGetWaitEstimates
הדוגמה הזו ממחישה מקרה שבו בדרך כלל במסעדה מאפשרים ל-party_size לקבל ערכים מ-2 עד 10, אבל בזמן שליחת הבקשה כבר לא ניתן לקבל ערכים של party_size גבוהים מ-7 (למשל, קרוב לשעת הסגירה), ו-party_size של 2 לא מחייב המתנה.
[[["התוכן קל להבנה","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)."],[[["`BatchGetWaitEstimates` allows merchants to retrieve the current wait times for various party sizes for a specific service, such as reservations."],["The response includes a `waitlist_status` indicating if the waitlist is open and a list of `wait_estimate` objects detailing the estimated wait for each party size, potentially using `parties_ahead_count` or remaining empty for immediate seating."],["Using `CreateWaitlistEntry`, `GetWaitlistEntry`, and `DeleteWaitlistEntry`, users can add themselves to the waitlist, check their status and estimated wait, and remove themselves from the waitlist, respectively."],["Wait estimates can vary based on real-time availability and operational constraints, such as party size limitations near closing time."]]],["The provided content details waitlist management for a restaurant. It begins by checking wait estimates for party sizes 2-10, revealing that parties over 7 cannot be accommodated and party size 2 has no wait. A new waitlist entry is then created for a party of 3, assigning it an ID. Retrieving that ID confirms the party is waiting with 3 parties ahead. Finally the entry is deleted.\n"]]