---
title: "Update Service Area Policy"
method: PUT
path: "/settings/service-area"
tags: ["service-area"]
---

# Update Service Area Policy

`PUT /settings/service-area`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/settings/service-area`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Headers

- `organization-id` string, nullable
- `x-user-id` string, nullable
- `timezone` string
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- UpdateServiceAreaPolicyRequest
  - `source` 'service_titan_zones' | 'selected_regions', required
  - `selected_region_ids` string[]

## Response `200`

Successful Response

- ServiceAreaPolicyUpdatePublic
  - `source` 'service_titan_zones' | 'selected_regions', required
  - `selected_region_ids` string[], required
  - `configured` boolean, required
  - `selected_zip_count` integer, required
  - `selected_zip_prefix_count` integer, required
  - `service_titan_zip_count` integer, required
  - `service_titan_zip_prefix_count` integer, required
  - `change` ServiceAreaPolicyChangeSummary, required
    - `changed` boolean, required
    - `before` ServiceAreaPolicyScope, required
      - `source` 'service_titan_zones' | 'selected_regions', required
      - `selected_region_ids` string[], required
      - `effective_zip_count` integer, required
      - `effective_zip_prefix_count` integer, required
    - `after` ServiceAreaPolicyScope, required
      - `source` 'service_titan_zones' | 'selected_regions', required
      - `selected_region_ids` string[], required
      - `effective_zip_count` integer, required
      - `effective_zip_prefix_count` integer, required
    - `added_zip_count` integer, required
    - `removed_zip_count` integer, required
    - `added_zip_prefix_count` integer, required
    - `removed_zip_prefix_count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
