---
title: "Create Location"
method: POST
path: "/location"
tags: ["Location"]
---

# Create Location

`POST /location`

Create a new location

## Query parameters

- `select` 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

- `201` — The Location was created
- `204` — No Content

---

[API](https://skmtc.net/getmateo/apis/mateo-api.md) · [All operations](https://skmtc.net/getmateo/apis/mateo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getmateo/mateo-api/versions/96e99eb80199/schema)
