موارد زیادی وجود دارد که در آن یک تاجر مایل است خدمات یا اسلات های خاصی را حداقل از قبل رزرو کند. اینها را می توان در سطح خدمات و/یا در سطح دسترسی تنظیم کرد. اگر در هر دو تنظیم شود، از تنظیم در سطح دسترسی استفاده می شود.
تعریف سطح خدمات
در سطح خدمات، فیلد rules.min_advance_booking نامیده می شود . این فیلد باید روی تعداد ثانیه های قبل از زمان شروع رزرو تنظیم شود که رزرو باید انجام شود. به عنوان مثال، اگر همیشه باید رزرو را 1 ساعت قبل از زمان شروع انجام دهید، این فیلد روی 3600 تنظیم می شود (بنابراین رزرو برای ساعت 15 می تواند تا ساعت 2 بعد از ظهر رزرو شود). این برای همه اسلاتهای آن سرویس اعمال میشود (مگر اینکه با تعریف سطح شکاف لغو شود).
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی."],[[["Merchants can set a minimum advance booking time for services, ensuring bookings are made within a specified timeframe before the service start time."],["This can be configured at the service level (affecting all slots) or at the individual slot level, offering flexibility in setting booking windows."],["Service-level settings use `rules.min_advance_booking` (in seconds), while slot-level settings use `scheduling_rule_overrides.last_bookable_sec` (as an EPOCH timestamp)."],["Merchants still need to validate booking requests against the booking window on their end and handle potential booking failures appropriately, as feed-based limits might not cover all edge cases."]]],["Merchants can set minimum advanced booking times for services or slots. At the service level, the `rules.min_advance_booking` field specifies the minimum seconds needed before a reservation's start time. At the slot level, `scheduling_rule_overrides.last_bookable_sec` defines the last bookable time via an epoch timestamp. If both are set, the slot-level rule takes precedence. Regardless of feed settings, the booking system must validate booking windows upon receiving a `CreateBooking` request and respond with `SLOT_UNAVAILABLE` if the booking is outside the allowed window.\n"]]