Skip to main content

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, or closed.

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 a LocationNotOpen error if the specified location has a status of paused or closed.
  • 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