---
title: "Update a Location"
method: PUT
path: "/public/v3/Locations/{locationId}"
tags: ["Locations"]
---

# Update a Location

`PUT /public/v3/Locations/{locationId}`

Update a location within the specified account.

## Path parameters

- `locationId` integer, required

## Headers

- `x-tive-account-id` integer, required

## Request body

- LocationRequest
  - `name` string, required — The name of the location.
  - `address` AddressRequest, required — The full address of the location.
    - `street` string, required
    - `sublocality` string, nullable
    - `locality` string, required
    - `state` string, required
    - `country` string, required
    - `postalCode` string, required
  - `coordinates` CoordinateRequest, required — Coordinates of the location.
    - `latitude` number, double, required
    - `longitude` number, double, required
  - `radius` RadiusRequest — The radius of the location geofence. Minimum value is 50m, maximum is 400km. Tolerance less than 400m will require GPS and frequent transmit intervals for accurate readings.
    - `radiusValue` number, double, required — The radius of the geofence.
    - `selectedRadiusUnit` string, required — The unit of the geofence radius. Valid options are `Miles`, `Meters`, or `Kilometers`.
  - `nodeType` 'Warehouse' | 'ConsumerPickupPoint' | 'DistributionCenter' | 'RiskZone' | 'Airport' | 'Seaport' | 'ProductionFacility' | 'Terminal' | 'BorderCrossing' | 'ServiceStop'
  - `shareLocation` boolean
  - `includeCollaboratorsWhenSharing` boolean
  - `labels` Label[], nullable
    - `labelId` integer
    - `labelText` string, nullable
  - `alertPresetIds` integer[], nullable

## Response `200`

The location has been updated

## Other responses

- `400` — Location was not updated
- `401` — Unauthorized

---

[API](https://skmtc.net/tive/apis/tive-public-api.md) · [All operations](https://skmtc.net/tive/apis/tive-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tive/tive-public-api/revisions/9a8d869e3cdc/schema)
