Get item's timeslots information
This endpoint retrieves the available timeslots for a specific item in the cart.
Request
No request body is required for this endpoint.
Response
The response includes the following fields:
-
isEnabled(boolean): Indicates whether the timeslots are enabled. -
isValid(boolean): Indicates the validity of the timeslots. -
minimumNumberOfBookings(number): The minimum number of bookings allowed. -
maximumNumberOfBookings(number): The maximum number of bookings allowed. -
bookings(array): Contains any existing bookings for the item. Each booking object within the array includes the following fields:-
id(string): The ID of the booking. -
date(string): The date of the booking. -
isAvailableForBooking(boolean): Indicates whether the timeslot is available for booking. -
isBookingLimited(boolean): Indicates if the booking is limited. -
isExpired(boolean): Indicates if the booking is expired. -
isSoldOut(boolean): Indicates if the booking is sold out. -
timeRanges(array): Contains the time ranges available for booking. Each time range object within the array includes the following fields:-
id(string): The ID of the time range. -
start(string): The start time of the time range. -
end(string): The end time of the time range. -
isAvailableForBooking(boolean): Indicates whether the time range is available for booking. -
isBookingLimited(boolean): Indicates if the time range booking is limited. -
isExpired(boolean): Indicates if the time range booking is expired. -
isSoldOut(boolean): Indicates if the time range booking is sold out.
-
-
Authentication#auth
This endpoint does not require authentication.