Hi, type can be ‘fixed’ or ‘weekly’. Fixed means it will repeat ‘repeat_count’ times with ‘days’ interval. ‘weekly’ means it will be repeated on choosen weekdays.
Mode can be ‘skip’, ‘book_available’, ‘book_and_move’.
‘skip’ - not allow recurring bookings if one of dates in between unavailable (Using the example below, if 15th is busy, the system will not allow to book 1st and 8th, only days after busy day).
‘book_available’ - only book on available dates and skip unavailable dates (Using the example below, if 15th is busy, the system will allow you to book 1st and 8th and 22nd (only 3 out of 4).
‘book_and_move’ - book on all available dates and add dates behind for unavailable in between dates (Using the example below, if 15th is busy, the system will book 1 and 8th and 22nd + 1 day instead of busy 15th, which is August 29th).
So when using book() to book a recurring appointment for a single client, should I leave $count and $batchId as null and just fill in $recurringData with that object?