---
title: "Update Service Area Region"
method: PATCH
path: "/settings/service-area/regions/{region_id}"
tags: ["service-area"]
---

# Update Service Area Region

`PATCH /settings/service-area/regions/{region_id}`

## 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/regions/{region_id}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Path parameters

- `region_id` string, required

## 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

- ServiceAreaRegionWriteRequest
  - `name` string, required
  - `region_type` 'zip_code' | 'zone', required
  - `zip_codes` string[]
  - `zone_ids` integer[]

## Response `200`

Successful Response

- ServiceAreaManagedRegion
  - `id` string, required
  - `organization_id` string, required
  - `name` string, required
  - `region_type` string, required
  - `zip_codes` string[], required
  - `zone_ids` 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/cce8b07a5787?raw)
