Sites

Update a site's appointment enquiry settings

Use this endpoint to update the appointment enquiry settings for a site

put/shop/sites/{siteId}/appointment-enquiry-settings

Request body

enabledboolean

Whether appointment enquiries are enabled for this site.

min_advance_bookings_intervalstring nullable

The minimum time before an appointment's start time that an enquiry may be made, as an ISO8601 string. See https://en.wikipedia.org/wiki/ISO_8601#Durations

automatically_confirmboolean

Whether enquiries should automatically be confirmed when there is availability.

automatically_chargeboolean

Whether enquiries should automatically be charged when being confirmed.

Example request

{
  "min_advance_bookings_interval": "P2D"
}

Response

A response containing a site's appointment enquiry settings.

Example response

{
  "data": {
    "min_advance_bookings_interval": "P2D"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.