कई मामलों में, व्यापारी/कंपनी/कारोबारी किसी खास सेवा या स्लॉट को कम से कम समय पहले बुक करना चाहता है. इन्हें सेवा के लेवल और/या उपलब्धता के लेवल पर सेट किया जा सकता है. अगर इसे दोनों लेवल पर सेट किया गया है, तो उपलब्धता के लेवल पर सेट की गई सेटिंग का इस्तेमाल किया जाएगा.
सेवा के लेवल की परिभाषा
सेवा लेवल पर, फ़ील्ड को rules.min_advance_booking कहा जाता है. इस फ़ील्ड को, बुकिंग शुरू होने के समय से पहले के सेकंड में सेट किया जाना चाहिए. उदाहरण के लिए, अगर बुकिंग हमेशा शुरू होने के समय से एक घंटे पहले करनी होती है, तो यह फ़ील्ड 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"]]