Update bookingservice

Namespace: microsoft.graph

Update the properties of a bookingService object in the specified bookingBusiness.

The following are some examples you can customize for a service:

  • Price
  • Typical length of an appointment
  • Reminders
  • Any time buffer to set up before or finish up after the service
  • Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Bookings.ReadWrite.All, Bookings.Manage.All
Delegated (personal Microsoft account) Not supported.
Application Not supported.

HTTP request

PATCH /solutions/bookingBusinesses/{id}/services/{id}

Request headers

Name Description
Authorization Bearer {code}. Required.

Request body

In the request body, supply only the values for properties that should be updated. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values.

The following table specifies the properties that can be updated.

Property Type Description
customQuestions bookingQuestionAssignment collection This contains a set of custom questions associated with a particular service. Optional.
defaultDuration Duration The default length of the service represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
defaultLocation location The default physical location for the service.
defaultPrice Double The default monetary price for the service.
defaultPriceType bookingPriceType The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue.
defaultReminders bookingReminder collection The default set of reminders for an appointment of this service. The value of this property is available only when reading this bookingService by its ID.
description String A text description for the service.
displayName String A service name.
id String The unique identifier for the bookingService. Read-only.
isAnonymousJoinEnabled Boolean True if the URL to join the appointment anonymously (anonymousJoinWebUrl) will be generated for the appointment booked for this service.
isHiddenFromCustomers Boolean If true, the service is not available to customers for booking.
isLocationOnline Boolean If true it indicates that the appointments for the service will be held online. Default value is false.
languageTag String The language of the self-service booking page.
maximumAttendeesCount Int32 The maximum number of customers allowed in a service.
notes String Additional information about this service.
postBuffer Duration The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.
preBuffer Duration The time to buffer before an appointment for this service can start.
schedulingPolicy bookingSchedulingPolicy The set of policies that determine how appointments for this type of service should be created and managed.
smsNotificationsEnabled Boolean True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false.
staffMemberIds String collection Represents those staff members who provide this service.


If successful, this method returns a 204 No Content response code. It does not return anything in the response body.



The following example updates the duration of the specified service.

PATCH https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/Contosolunchdelivery@contoso.onmicrosoft.com/services/57da6774-a087-4d69-b0e6-6fb82c339976
Content-type: application/json



The following is an example of the response.

HTTP/1.1 204 No Content