---
title: "Update a site's appointment enquiry settings"
method: PUT
path: "/shop/sites/{siteId}/appointment-enquiry-settings"
tags: ["Sites"]
---

# Update a site's appointment enquiry settings

`PUT /shop/sites/{siteId}/appointment-enquiry-settings`

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

## Request body

- UpdateAppointmentEnquirySettings — Properties to be updated in a site's appointment enquiry settings
  - `enabled` boolean — Whether appointment enquiries are enabled for this site.
  - `min_advance_bookings_interval` string, 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_confirm` boolean — Whether enquiries should automatically be confirmed when there is availability.
  - `automatically_charge` boolean — Whether enquiries should automatically be charged when being confirmed.

## Response `200`

A response containing a site's appointment enquiry settings.

- object
  - `data` AppointmentEnquirySettings, required — Properties to be updated in a site's appointment enquiry settings
    - `enabled` boolean, required — Whether appointment enquiries are enabled for this site.
    - `min_advance_bookings_interval` string, nullable, required — 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_confirm` boolean, required — Whether enquiries should automatically be confirmed when there is availability.
    - `automatically_charge` boolean, required — Whether enquiries should automatically be charged when being confirmed.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
