---
title: "Update Deal Service Location"
method: PATCH
path: "/api/deals/{deal_id}/service-location"
tags: ["deals"]
---

# Update Deal Service Location

`PATCH /api/deals/{deal_id}/service-location`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/deals/{deal_id}/service-location`
- Auth: none declared

## Path parameters

- `deal_id` integer, required

## Request body

- UpdateDealServiceLocationSchema
  - `address_line1` string, nullable
  - `address_line2` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `postal_code` string, nullable
  - `country_code` string, nullable

## Response `200`

OK

- UpdateDealServiceLocationResponse
  - `success` boolean, required
  - `address` string, required
  - `service_location_id` integer, required
  - `linked_deal_count` integer, required

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
