Skip to main content
Update Location
curl --request PATCH \
  --url https://integration.getmateo.com/api/v1/location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "external_id": "<string>",
  "street": "<string>",
  "postal_code": "<string>",
  "city": "<string>",
  "region": "<string>",
  "iso_country": "<string>",
  "address_line": "<string>"
}
'
{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "external_id": "<string>",
  "street": "<string>",
  "postal_code": "<string>",
  "city": "<string>",
  "region": "<string>",
  "iso_country": "<string>",
  "address_line": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getmateo.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Select columns to return

id
string

Location ID

created_at
string

Creation date

updated_at
string

Latest update

organisation_id
string

Organisation ID

name
string

Name of the location

external_id
string

External ID

street
string

Street address

postal_code
string

Postal or ZIP code

city
string

City

region
string

Region or state

iso_country
string

ISO 3166-1 alpha-2 country code

address_line
string

Full formatted address line (generated)

Body

application/json

location

id
string<uuid>
default:random uuid

Location ID

created_at
string<timestamp with time zone>
default:now()

Creation date

updated_at
string<timestamp with time zone>
default:now()

Latest update

organisation_id
string<uuid>

Organisation ID

name
string<text>

Name of the location

external_id
string<text> | null

External ID

street
string<text> | null

Street address

postal_code
string<text> | null

Postal or ZIP code

city
string<text> | null

City

region
string<text> | null

Region or state

iso_country
string<text> | null

ISO 3166-1 alpha-2 country code

address_line
string<text> | null

Full formatted address line (generated)

Response

The updated Location object

id
string<uuid>
default:random uuid

Location ID

created_at
string<timestamp with time zone>
default:now()

Creation date

updated_at
string<timestamp with time zone>
default:now()

Latest update

organisation_id
string<uuid>

Organisation ID

name
string<text>

Name of the location

external_id
string<text> | null

External ID

street
string<text> | null

Street address

postal_code
string<text> | null

Postal or ZIP code

city
string<text> | null

City

region
string<text> | null

Region or state

iso_country
string<text> | null

ISO 3166-1 alpha-2 country code

address_line
string<text> | null

Full formatted address line (generated)