Locations — status field and PracticeLocationStatus enum
Summary
The GraphQL API now exposes a status field on PracticeLocation using the new PracticeLocationStatus enum.
New on the PracticeLocation type:
status(PracticeLocationStatus) —open,paused, orclosed.
Existing queries that omit status continue to work unchanged. Locations created before this change will have a status of open.
Behavioral changes
When the location status feature is enabled for a practice, the following restrictions apply:
- Booking mutations (
createBooking,updateBooking) will return aLocationNotOpenerror if the specified location has a status ofpausedorclosed. - Online booking availability queries will exclude locations that are not
open, which may reduce the set of available slots returned.
Locations with a status of open or with no status set are unaffected.
See also
- API reference:
PracticeLocation - API reference:
practice