تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
BatchGetWaitEstimates
يوضّح هذا المثال حالة يسمح فيها مطعم عادةً بقيَم party_size
تتراوح بين 2 و10، ولكن في وقت الطلب، لا يمكن استقبال قيم party_size تزيد عن 7 (مثلاً، قرب وقت الإغلاق)، ولا ينتظر party_size المكوّن من شخصين
في الواقع.
تاريخ التعديل الأخير: 2025-05-24 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-05-24 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`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"]]