That varies across the providers and is different from one case to another. Regarding bulky baggage for example you must usually book online 24 hours in advance. However, some providers allow online bookings up to 15 minutes before departure.
Please note: the earlier you book, the best deal you can make. Shortly before departure the tickets are the most expensive in most cases.