Hi,
I am seeing an issue where I am retrieving the schedule for a provider 25 and service 2.
The provider is schedule to work that day for service 2, but there are no more available time slots for that service.
Company: newfysiconline
The endpoint I am calling to list the available date for the provider is:
https://user-api-v2.simplybook.pro/admin/schedule?date_from=2026-06-01&date_to=2026-06-30&provider_id=25&service_id=2
This gives me a list of al the dates I could schedule an appointment with this provider.
[ {
"id" : "2026-06-01",
"date" : "2026-06-01",
"time_from" : "09:00:00",
"time_to" : "14:30:00",
"is_day_off" : true
}, {
"id" : "2026-06-02",
"date" : "2026-06-02",
"time_from" : "09:00:00",
"time_to" : "22:00:00",
"is_day_off" : false
}, {
"id" : "2026-06-03",
"date" : "2026-06-03",
"time_from" : "09:00:00",
"time_to" : "12:00:00",
"is_day_off" : false
},
...
]
However, when I call a list of available slots it return 0 results:
https://user-api-v2.simplybook.pro/admin/schedule/available-slots?date=2026-06-02&provider_id=25&service_id=2
This in my mind should not happen.
Should the schedule endpoint not take into account if there are any available slots left to book on. If not so, which endpoint should I then be using?