Hello. How do you book a table at a restaurant through the API?
Currently im using the bookings API for testing, and in it, there’s the search_availability endpoint which returns the available slots. But it requires service_variation_id in the segment_filters. Should i be creating services in Appointments (in the sandbox for now) and naming them as table for 2 or table for 4 and so on? And then using the catalog API to get their respective service_variation_id?
Or is there a specific restaurant reservations API that handles table bookings?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.