Docs
Set Event Geolocation
PATCH /events/{eventId}/geolocation
PATCH
/events/{eventId}/geolocationSets the event's geolocation from a Location value (from Maps_Geocode), or clears it when geolocation is null. Looks up and stores the IANA time zone at the value's coordinates; event times keep their clock times. Independent of the event's location (Events_SetLocation). Needs event settings permission, or an organization token for an admin of the owning organization. 400 when the value is malformed or Location search is unavailable.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| geolocation | JsonElement | Optional |
Response
| Field | Type | Description |
|---|---|---|
| provider | string| null | |
| formattedAddress | string| null | |
| latitude | number | |
| longitude | number | |
| components | LocationComponents | |
| timeZone | string| null |
LocationComponents
| Field | Type | Description |
|---|---|---|
| street | string| null | |
| city | string| null | |
| region | string| null | |
| postalCode | string| null | |
| country | string| null |