판매자가 특정 서비스 또는 시간대를 최소한의 시간 전에 예약하기를 원하는 경우가 많습니다. 이는 서비스 수준 또는 이용 가능 시간대 수준에서 설정할 수 있습니다. 둘 다 설정된 경우 사용 가능 여부 수준의 설정이 사용됩니다.
서비스 수준 정의
서비스 수준에서는 이 필드를 rules.min_advance_booking라고 합니다. 이 필드는 예약 시작 시간 전에 예약을 완료해야 하는 시간(초)으로 설정해야 합니다. 예를 들어 예약은 항상 시작 시간 1시간 전에 이루어져야 하는 경우 이 필드는 3600으로 설정됩니다. 따라서 오후 3시 예약은 오후 2시까지 예약할 수 있습니다. 이는 시간대 수준 정의에서 재정의하지 않는 한 해당 서비스의 모든 시간대에 적용됩니다.
[null,null,["최종 업데이트: 2024-11-26(UTC)"],[[["Merchants can set minimum advanced booking times for services or specific time slots."],["Service-level settings use `rules.min_advance_booking` to define the minimum booking time in seconds before the start time."],["Slot-level settings utilize `scheduling_rule_overrides.last_bookable_sec` to specify the last bookable time for individual slots using an EPOCH timestamp."],["Implementing advance booking limits in feeds requires additional checks within your booking system to ensure the booking is within the allowed window and handle potential booking failures."]]],["Merchants can set a minimum time for advance bookings at either the service or availability slot level. The service level uses `rules.min_advance_booking` (in seconds), affecting all slots unless overridden. The slot level utilizes `scheduling_rule_overrides.last_bookable_sec` (EPOCH timestamp), specific to each slot. If both are set, the slot level takes precedence. It's crucial to validate the booking window during booking requests and reject those outside it with `SLOT_UNAVAILABLE`.\n"]]