Skip to content

Update Care Navigation Opening Hour

Request

Updates a single care navigation opening hour for the requesting practice group.

Security
apiKeyAuth and practiceGroupId
Path
idstringrequired
Bodyapplication/jsonrequired
start_timestring or null^\d{2}:\d{2}$
end_timestring or null^\d{2}:\d{2}$
suspendedboolean
curl -i -X PATCH \
  'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/care-nav/opening-hours/{id}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-practice-group-id: YOUR_API_KEY_HERE' \
  -d '{
    "start_time": "string",
    "end_time": "string",
    "suspended": true
  }'

Responses

Ok

Bodyapplication/json
idstring^\d+$required
day_of_weekstringrequired
Enum:"sunday""monday""tuesday""wednesday""thursday""friday""saturday"
start_timestring or nullrequired
end_timestring or nullrequired
suspendedbooleanrequired
Response
{ "id": "string", "day_of_week": "sunday", "start_time": "string", "end_time": "string", "suspended": true }