# Locations Locations information ## Find depot by ID - [GET /depots/{depotId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1depots~1%7Bdepotid%7D/get.md) ## Get paginated depots - [GET /depots](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1depots/get.md) ## Find location by ID - [GET /locations/{locationId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations~1%7Blocationid%7D/get.md) ## Update/create location by ID - [PUT /locations/{locationId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations~1%7Blocationid%7D/put.md) ## Get paginated locations - [GET /locations](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations/get.md) ## Get paginated locations with more data (for example depots) - [GET /locationsWithStorage](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locationswithstorage/get.md) ## Search locations - [POST /locations/search](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations~1search/post.md) ## get all geometry regions - [GET /geometryRegions](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1geometryregions/get.md) ## Find geometry region by ID - [GET /geometryRegions/{geometryRegionId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1geometryregions~1%7Bgeometryregionid%7D/get.md) ## Find location belonging to a customer - [GET /customers/{customerId}/locations](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1customers~1%7Bcustomerid%7D~1locations/get.md) ## Find location with an externalId - [GET /locations/externalIdLookup/{externalId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations~1externalidlookup~1%7Bexternalid%7D/get.md) ## Find location with an propertyId - [GET /locations/propertyLookup/{propertyId}](https://developer.m2x.app/apis/publicapi/openapi/locations/paths/~1locations~1propertylookup~1%7Bpropertyid%7D/get.md) ## Location webhook - [POST Location](https://developer.m2x.app/apis/publicapi/openapi/locations/locationwebhook.md): webhook type: LOCATION