Skip to main content
PATCH
/
v1
/
organisations
/
{organisationId}
/
booking-settings
Update booking settings
curl --request PATCH \
  --url https://api.halth.com/v1/organisations/{organisationId}/booking-settings \
  --header 'Content-Type: application/json' \
  --data '
{
  "notesEnabled": true,
  "cancellationFeeAmount": 50000,
  "cancellationFeePercent": 50.5,
  "cancellationFeeEnabled": true,
  "cancellationNoFeeBeforeHours": 60,
  "paymentDetailsRequired": true,
  "bookingNotificationsEnabled": true,
  "providerBookingNotificationsEnabled": true,
  "cancellationFeeAutoChargeEnabled": true,
  "googleTagManagerContainerId": "<string>",
  "healthFundCardCollectionEnabled": true
}
'
{}

Path Parameters

organisationId
string
required

Body

application/json
notesEnabled
boolean
cancellationFeeAmount
number | null
Required range: 0 <= x <= 100000
cancellationFeePercent
number | null
Required range: 1 <= x <= 100
cancellationFeeEnabled
boolean
cancellationNoFeeBeforeHours
number
Required range: 0 <= x <= 120
paymentDetailsRequired
boolean
bookingNotificationsEnabled
boolean
providerBookingNotificationsEnabled
boolean
cancellationFeeAutoChargeEnabled
boolean
googleTagManagerContainerId
string | null
healthFundCardCollectionEnabled
boolean

Response

200 - application/json

The response is of type object.