Find for Date Range
AI-generatedSummary
Retrieve available booking shifts for a specific Zenchef restaurant within a user-defined date range up to about 30 days.
Inputs
- Restaurant ID (required) — The numeric ID assigned to the restaurant by Zenchef, found via the restaurant's booking widget network requests.
- From Date (required) — Start date of the query range, must be within the last month.
- To Date (required) — End date of the query range, range should not exceed approximately 30 days.
- Options.Number of Guests — Optional filter to only include shifts accepting this party size, defaults to 0 to skip filtering.
Output shape
A list of available shifts within the date range; each item includes shift ID, name, the schedule date and day info, guest capacity (min and max party size), and bookable time window.
Only shifts that are open, have availability, and meet the guest size filter are included. The date range must be valid and cannot exceed about 30 days. Errors include rate limiting and invalid parameters with descriptive messages.
Examples
Example 1: Find all available booking shifts for restaurant 123456 between 2024-05-01 and 2024-05-15 for parties of 4 guests.
Set Restaurant ID to 123456, From Date to 2024-05-01, To Date to 2024-05-15, and Options.Number of Guests to 4.