# Create and manage locations

Locations are geographical points of interest that represent the origins and destinations for [shipments](https://docs.here.com/tracking/docs/shipments). Locations are the building blocks for [segments](https://docs.here.com/tracking/docs/segments).
When [creating a location](/tracking/reference/post_locations-v4), you can associate it with a [geofence](https://docs.here.com/tracking/docs/geofences). Geofence events can trigger the start or completion of a shipment. <Callout icon="📘" theme="info">
Note

When creating new shipments, any shipments that share the same origin or destination should also use the same locations. </Callout>

In a basic example, you can create a location with a set of coordinates. These coordinates can be obtained from the HERE Geocoder using the [location address](/geocoding-and-search/docs/code-geocode-address).

The user can also define unique logical names for locations and use these names to [fetch](/tracking/reference/get_locations-v4) previously created locations.

Locations are managed via the [locations endpoint](/tracking/reference/get_locations-v4-health).