---
title: "Update Location"
method: PATCH
path: "/location"
tags: ["Location"]
---

# Update Location

`PATCH /location`

Update an existing location

## Query parameters

- `select` string
- `id` string
- `created_at` string
- `updated_at` string
- `organisation_id` string
- `name` string
- `external_id` string
- `street` string
- `postal_code` string
- `city` string
- `region` string
- `iso_country` string
- `address_line` string

## Request body

- Location
  - `id` string, uuid — Location ID
  - `created_at` string, timestamp with time zone — Creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid — Organisation ID
  - `name` string, text — Name of the location
  - `external_id` string, text, nullable — External ID
  - `street` string, text, nullable — Street address
  - `postal_code` string, text, nullable — Postal or ZIP code
  - `city` string, text, nullable — City
  - `region` string, text, nullable — Region or state
  - `iso_country` string, text, nullable — ISO 3166-1 alpha-2 country code
  - `address_line` string, text, nullable — Full formatted address line (generated)

## Response `200`

The updated Location object

- Location
  - `id` string, uuid — Location ID
  - `created_at` string, timestamp with time zone — Creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid — Organisation ID
  - `name` string, text — Name of the location
  - `external_id` string, text, nullable — External ID
  - `street` string, text, nullable — Street address
  - `postal_code` string, text, nullable — Postal or ZIP code
  - `city` string, text, nullable — City
  - `region` string, text, nullable — Region or state
  - `iso_country` string, text, nullable — ISO 3166-1 alpha-2 country code
  - `address_line` string, text, nullable — Full formatted address line (generated)

## Other responses

- `204` — No Content

---

[API](https://skmtc.dev/getmateo/apis/mateo-api.md) · [All operations](https://skmtc.dev/getmateo/apis/mateo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getmateo/mateo-api/revisions/22a9b3b009d1/schema)
