---
title: "Update Service Setting"
description: "How to call Update Service Setting (PATCH /api/service-settings/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/update_service_setting_beta"
revision: "2026-10-15.pre"
operationId: "update_service_setting_beta"
method: "PATCH"
endpoint: "https://a.klaviyo.com/api/service-settings/{id}"
authentication: "privateKey"
scopes: ["agents:write"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_service_setting_beta.json"
jsonApi: {"fields":{"service-setting":["id","office_hours","office_hours.timezone","office_hours.weekly_hours","office_hours.weekly_hours.friday","office_hours.weekly_hours.monday","office_hours.weekly_hours.saturday","office_hours.weekly_hours.sunday","office_hours.weekly_hours.thursday","office_hours.weekly_hours.tuesday","office_hours.weekly_hours.wednesday"]}}
related: ["https://developers.klaviyo.com/en/reference/service-beta/llms.txt","https://developers.klaviyo.com/en/reference/get_service_setting_beta.md"]
---

# Update Service Setting

> This is the Markdown version of https://developers.klaviyo.com/en/reference/update_service_setting_beta

```http
PATCH https://a.klaviyo.com/api/service-settings/{id}
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Updates the account's Helpdesk settings.

Groups you omit are left unchanged. Sending ``weekly_hours`` replaces the whole week.

- Revision header: `revision: 2026-10-15.pre` (required)
- Scopes: `agents:write`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_service_setting_beta.json)

## Example request

### curl

```bash
curl --request PATCH \
     --url 'https://a.klaviyo.com/api/service-settings/id' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "service-setting",
    "id": "string",
    "attributes": {}
  }
}'
```

### CLI

```bash
klaviyo beta service update-service-setting id \
  -d '{
  "data": {
    "type": "service-setting",
    "id": "string",
    "attributes": {}
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

## Path parameters

- `id` (string, required)

## Query parameters

- `fields[service-setting]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `id`, `office_hours`, `office_hours.timezone`, `office_hours.weekly_hours`, `office_hours.weekly_hours.friday`, `office_hours.weekly_hours.monday`, `office_hours.weekly_hours.saturday`, `office_hours.weekly_hours.sunday`, `office_hours.weekly_hours.thursday`, `office_hours.weekly_hours.tuesday`, `office_hours.weekly_hours.wednesday`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `service-setting`
  - `id` (string, required): The account's ID. Must match the `id` path parameter.
  - `attributes` (object, required)
    - `office_hours` (object, nullable): When the Helpdesk is open. Fields you omit are left unchanged.
      - `timezone` (string, nullable): IANA timezone name. Omit to keep the current timezone. Example: `America/New_York`
      - `weekly_hours` (object, nullable): Replaces the whole week. A day you leave out is closed. Omit to keep the current hours. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_service_setting_beta.json).

### Example request body

```json
{
  "data": {
    "type": "service-setting",
    "id": "string",
    "attributes": {}
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `service-setting`
  - `id` (string, required): The account's ID. Example: `AbC123`
  - `attributes` (object, required)
    - `office_hours` (object, required): When the Helpdesk is open.
      - `timezone` (string, required): IANA timezone name. Example: `America/New_York`
      - `weekly_hours` (object, required): Open intervals for each day. If every day is empty, the account is always open. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_service_setting_beta.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "type": "service-setting",
    "id": "AbC123",
    "attributes": {
      "office_hours": {
        "timezone": "America/New_York",
        "weekly_hours": {
          "monday": [],
          "tuesday": [],
          "wednesday": [],
          "thursday": [],
          "friday": [],
          "saturday": [],
          "sunday": []
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
