> This is a page from the ElevenLabs documentation. For a complete page index, fetch https://elevenlabs.io/docs/llms.txt. For the full documentation in a single file, fetch https://elevenlabs.io/docs/llms-full.txt.

# Confirm Service Update

POST https://api.elevenlabs.io/v1/reception/services/{service_id}/confirm-update
Content-Type: application/json

Save a service update that changes the price of existing bookings. Optionally reprice future bookings.

Reference: https://elevenlabs.io/docs/api-reference/reception/services/confirm-update

## Servers

- `https://api.elevenlabs.io` (Production, default)
- `https://api.us.elevenlabs.io` (Production US)
- `https://api.eu.residency.elevenlabs.io` (Production EU)
- `https://api.in.residency.elevenlabs.io` (Production India)
- `https://api.sg.residency.elevenlabs.io` (Production Singapore)

## Request

### Path parameters

- `service_id` (string, required)

### Query parameters

- `reprice` (boolean, optional, default: false)

### Headers

- `xi-workspace-id` (string, optional, nullable) — The customer workspace a reseller's API key acts on.

### Body (application/json)

This endpoint expects a SMBConfirmServiceUpdateRequest.

- `pricing_mode` (enum, optional, default: fixed) — 'fixed' (default): the item has a known price the agent can quote, and customers can book or order it directly. 'quote': the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use 'quote'.
  - Allowed values: `fixed`, `quote`
- `intake_questions` (list of SMBIntakeQuestion, optional) — Questions the agent asks before booking or ordering this item. Required for a useful `pricing_mode='quote'` item -- without them a quote request arrives with nothing to price -- but also valid on fixed-price items that need extra detail (current hair color before a dye job, allergies before a treatment).
- `groups` (list of SMBGroupMembership, optional) — Group memberships for this item. Each entry carries the group label and the item's 0-based rank within that group.
- `ungrouped_rank` (integer, optional, nullable) — Display position among items with no group; `null` sorts last. Change it with the reorder endpoint.
- `name` (string, optional)
- `description` (string, optional)
- `variants` (list of SMBServiceVariant, optional) — Bookable options for this service. Always non-empty; `variants[0]` is the default option shown when callers don't pick a specific variant. Each entry has its own duration and (optional) price, and uniqueness is keyed by duration.
- `kind` (enum, optional, default: classic) — Classic = staff-delivered; rental = asset-based; group = multi-participant session.
  - Allowed values: `classic`, `rental`, `group`
- `buffer_minutes` (integer, optional) — Turnover/cleanup time reserved after each booking. Applies to every service kind; default 0 means no buffer.
- `service_location` (enum, optional, default: business) — Where the service is delivered. `business` = client visits the business location (default); `customer` = staff travels to the client. Only meaningful for `kind='classic'`.
  - Allowed values: `business`, `customer`
- `add_ons` (list of SMBAddOn, optional) — Optional extras that can be added to a booking of this service.
- `max_participants` (integer, optional, nullable) — Capacity for `kind='group'`: how many seats a single session can sell across all registrations. Must be null for classic and rental services (those are always exclusive to one client per booking).
- `capacity` (integer, optional, nullable)
- `is_active` (boolean, optional)
- `any_staff_member` (boolean, optional)
- `staff_ids` (list of string, optional) — Staff assigned to this service; must be empty for kind='rental'.
- `asset_ids` (list of string, optional)
- `advance_booking_minutes` (integer, optional) — How far into the future customer-facing channels (public booking page, voice agent) may book this service. Applies to every kind.
- `location_ids` (list of string, optional) — Locations where this service is offered; empty list means all locations.
- `display_on_booking_page` (boolean, optional)
- `travel_minutes` (integer, optional) — Travel time in minutes added before/after appointments for customer-location services. Blocks the staff member's calendar but is not visible to the customer. Ignored when `service_location='business'`.
- `travel_before` (boolean, optional) — Add travel time before the appointment (outbound trip).
- `travel_after` (boolean, optional) — Add travel time after the appointment (return trip).
- `promotions` (list of SMBServicePromotion, optional) — Time-bound discounts applicable to this service or specific variants.
- `duration_minutes` (integer, optional, nullable) — Sets the first variant's duration. Ignored when `variants` is sent.
- `price` (double, optional, nullable) — Sets the first variant's price. Ignored when `variants` is sent.

## Response

### 200

Lyckat svar

- `has_affected_events` (boolean, required)
- `service` (SMBServiceDBModel, optional, nullable) — Represents a bookable service (e.g., haircut, massage, consultation).

## Errors

### 422 Unprocessable Entity Error

Valideringsfel

- `detail` (list of ValidationError, optional)

## Types

### SMBIntakeQuestion

A question the receptionist asks before booking or ordering this item.

- `label` (string, required) — The question as the agent should ask it, e.g. 'How many rooms?'. Phrased by the owner; the agent may rephrase for conversational flow but must not change what is being asked.
- `id` (string, optional) — Stable identifier referenced by stored answers. Survives label edits so history stays attributable to the right question.
- `kind` (enum, optional, default: text) — Answer shape for a per-item intake question.
  - Allowed values: `text`, `number`, `choice`
- `options` (list of string, optional) — Allowed answers for `kind='choice'`. Must be empty for the other kinds.
- `required` (boolean, optional, default: false) — Enforced on the booking page. On calls the receptionist asks, but still books if the caller won't answer.
- `is_active` (boolean, optional, default: true) — Retired questions are deactivated rather than deleted, so answers already stored against them keep resolving.

### SMBGroupMembership

Membership of an item in a single user-defined group, with its display rank inside that group.

- `label` (string, required)
- `rank` (integer, optional, default: 0) — 0-based display position within this group. Change it with the reorder endpoint; send back the value you read to keep the order, a membership sent without it goes to position 0.

### SMBServiceVariant

A variant of a service identified by its duration, with optional price override.

- `duration_minutes` (integer, required)
- `id` (string, optional)
- `price` (double, optional, nullable)
- `is_active` (boolean, optional, default: true)

### SMBAddOn

A standalone add-on that can be tacked onto a service or rental booking. An add-on is a small, free-form extra (e.g. "Hot towel", "Valet parking") that extends the parent booking's duration and total price without creating a separate calendar event.

- `name` (string, required)
- `id` (string, optional) — Stable identifier used by booking requests and calendar snapshots. Survives name/price edits, so rebooking and reporting stay consistent.
- `description` (string, optional) — Short owner-authored blurb shown to customers and voice agents when they're choosing add-ons. Empty string means no description.
- `add_duration_minutes` (integer, optional, default: 0) — Minutes added to the parent booking when this add-on is selected.
- `add_price` (double, optional, default: 0) — Amount added to the parent booking's total when this add-on is selected.

### SMBServicePromotion

A time-bound promotion on a service/variant or on add-ons.

- `name` (string, required)
- `promotional_price` (double, required) — The final price when this promotion is applied to a matching line item.
- `start_date` (string, required)
- `end_date` (string, required)
- `id` (string, optional)
- `target` (enum, optional, default: service) — Whether this promotion targets the service/variant price or add-on prices.
  - Allowed values: `service`, `add_on`
- `variant_id` (string, optional, nullable) — When set (target=service), the promotion applies only to this variant.
- `add_on_id` (string, optional, nullable) — When set (target=add_on), the promotion applies only to this add-on.
- `days_of_week` (list of integer, optional) — Days when the promotion is active (0=Monday, 6=Sunday); empty means every day.
- `is_active` (boolean, optional, default: true)

### SMBServiceDBModel

Represents a bookable service (e.g., haircut, massage, consultation).

- `name` (string, required)
- `variants` (list of SMBServiceVariant, required)
- `_id` (string, required)
- `duration_minutes` (integer, required) — Duration of the first variant.
- `price` (double, required, nullable) — Price of the first variant.
- `pricing_mode` (enum, optional, default: fixed) — 'fixed' (default): the item has a known price the agent can quote, and customers can book or order it directly. 'quote': the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use 'quote'.
  - Allowed values: `fixed`, `quote`
- `intake_questions` (list of SMBIntakeQuestion, optional) — Questions the agent asks before booking or ordering this item. Required for a useful `pricing_mode='quote'` item -- without them a quote request arrives with nothing to price -- but also valid on fixed-price items that need extra detail (current hair color before a dye job, allergies before a treatment).
- `groups` (list of SMBGroupMembership, optional) — Group memberships for this item. Each entry carries the group label and the item's 0-based rank within that group.
- `ungrouped_rank` (integer, optional, nullable) — Display position among items with no group; `null` sorts last. Change it with the reorder endpoint.
- `description` (string, optional)
- `kind` (enum, optional, default: classic) — Classic = staff-delivered; rental = asset-based; group = multi-participant session.
  - Allowed values: `classic`, `rental`, `group`
- `buffer_minutes` (integer, optional, default: 0) — Turnover/cleanup time reserved after each booking. Applies to every service kind; default 0 means no buffer.
- `service_location` (enum, optional, default: business) — Where the service is delivered. `business` = client visits the business location (default); `customer` = staff travels to the client. Only meaningful for `kind='classic'`.
  - Allowed values: `business`, `customer`
- `add_ons` (list of SMBAddOn, optional) — Optional extras that can be added to a booking of this service.
- `max_participants` (integer, optional, nullable) — Capacity for `kind='group'`: how many seats a single session can sell across all registrations. Must be null for classic and rental services (those are always exclusive to one client per booking).
- `capacity` (integer, optional, nullable)
- `is_active` (boolean, optional, default: true)
- `any_staff_member` (boolean, optional, default: true)
- `staff_ids` (list of string, optional) — Staff assigned to this service; must be empty for kind='rental'.
- `asset_ids` (list of string, optional)
- `advance_booking_minutes` (integer, optional, default: 1440) — How far into the future customer-facing channels (public booking page, voice agent) may book this service. Applies to every kind.
- `location_ids` (list of string, optional) — Locations where this service is offered; empty list means all locations.
- `display_on_booking_page` (boolean, optional, default: true)
- `travel_minutes` (integer, optional, default: 0) — Travel time in minutes added before/after appointments for customer-location services. Blocks the staff member's calendar but is not visible to the customer. Ignored when `service_location='business'`.
- `travel_before` (boolean, optional, default: true) — Add travel time before the appointment (outbound trip).
- `travel_after` (boolean, optional, default: true) — Add travel time after the appointment (return trip).
- `promotions` (list of SMBServicePromotion, optional) — Time-bound discounts applicable to this service or specific variants.
- `created_at_unix` (integer, optional) — Unix timestamp (seconds since epoch)
- `updated_at_unix` (integer, optional) — Unix timestamp (seconds since epoch)

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)

### ValidationErrorLocItems

- string
- integer

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "has_affected_events": true,
  "service": {
    "name": "string",
    "variants": [
      {
        "duration_minutes": 1,
        "id": "string",
        "price": 1.1,
        "is_active": true
      }
    ],
    "_id": "string",
    "duration_minutes": 1,
    "price": 1.1,
    "pricing_mode": "fixed",
    "intake_questions": [
      {
        "label": "string",
        "id": "string",
        "kind": "text",
        "options": [
          "string"
        ],
        "required": false,
        "is_active": true
      }
    ],
    "groups": [
      {
        "label": "string",
        "rank": 0
      }
    ],
    "ungrouped_rank": 1,
    "description": "string",
    "kind": "classic",
    "buffer_minutes": 0,
    "service_location": "business",
    "add_ons": [
      {
        "name": "string",
        "id": "string",
        "description": "string",
        "add_duration_minutes": 0,
        "add_price": 0
      }
    ],
    "max_participants": 1,
    "capacity": 1,
    "is_active": true,
    "any_staff_member": true,
    "staff_ids": [
      "string"
    ],
    "asset_ids": [
      "string"
    ],
    "advance_booking_minutes": 1440,
    "location_ids": [
      "string"
    ],
    "display_on_booking_page": true,
    "travel_minutes": 0,
    "travel_before": true,
    "travel_after": true,
    "promotions": [
      {
        "name": "string",
        "promotional_price": 1.1,
        "start_date": "2023-01-15",
        "end_date": "2023-01-15",
        "id": "string",
        "target": "service",
        "variant_id": "string",
        "add_on_id": "string",
        "days_of_week": [
          1
        ],
        "is_active": true
      }
    ],
    "created_at_unix": 1,
    "updated_at_unix": 1
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update"

payload = {}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update';
const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.elevenlabs.io/v1/reception/services/service_id/confirm-update")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```