# Search locations Endpoint: POST /locations/search Version: 1.0.0 Security: M2X_auth_application ## Request fields (application/json): - `search` (string,null) A fuzzy search - `includeDisabled` (boolean) Whether to return disabled - `externalId` (string,null) Search by external Id - `name` (string,null) Search by name - `addressText` (string,null) Search by addressText - `pageFrom` (number) From which document number to start the page - `pageSize` (number) How big the page should be ## Response 200 fields (application/json): - `from` (integer) Document from where the page starts - `size` (integer) Page size - `total` (integer) Total document count matching the query - `hits` (array) - `hits.locationId` (string) - `hits.addressText` (string) - `hits.externalId` (string) - `hits.name` (string) - `hits.customerName` (string) - `hits.latitude` (number) - `hits.longitude` (number) - `hits.disabled` (string)