{"title":"location resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_location/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_location, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_location","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A location object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"location resource type","slug":"location-resource-type","at":0,"chars":2184},{"level":2,"title":"Methods","slug":"methods","at":226,"chars":335},{"level":2,"title":"Properties","slug":"properties","at":561,"chars":983},{"level":2,"title":"JSON representation","slug":"json-representation","at":1544,"chars":462},{"level":2,"title":"Related information","slug":"related-information","at":2006,"chars":178}],"text":"# location resource type\nRepresents a location in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_location_get|location|Gets a location object.\n../api/dynamics_location_delete|none|Deletes a location object.\nPOST location<../api/dynamics_location_create>|location|Creates a location object.\nPATCH location<../api/dynamics_location_update>|location|Updates a location object.\n## Properties\n|Property|Type|Description|\n|id|GUID|The unique ID of the location. Non-editable.|\n|code|string|The code of the location.|\n|displayName|string|Specifies the location's name. This name will appear on all sales documents for the location.|\n|contact|string||\n|addressLine1|string|Specifies the location's address. This address will appear on all sales documents for the location.|\n|addressLine2|string|Specifies the location's address. This address will appear on all sales documents for the location.|\n|city|string|Specifies the location's city.|\n|state|string|Specifies the location's state.|\n|country|string|Specifies the location's country.|\n|postalCode|string|Specifies the location's postal code.|\n|phoneNumber|string|Specifies the location's telephone number.|\n|email|string|Specifies the location's email address.|\n|website|string|Specifies the location's home page address.|\n|lastModifiedDateTime|datetime|The last datetime the location was modified. Read-Only.|\n## JSON representation\nHere's a JSON representation of the location resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"code\": \"string\",\n    \"displayName\": \"string\",\n    \"contact\": \"string\",\n    \"addressLine1\": \"string\",\n    \"addressLine2\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"country\": \"string\",\n    \"postalCode\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"email\": \"string\",\n    \"website\": \"string\",\n    \"lastModifiedDateTime\": \"datetime\"\n}\n```\n## Related information\n../api/dynamics_location_get\n../api/dynamics_location_delete\nPOST location<../api/dynamics_location_create>\nPATCH location<../api/dynamics_location_update>"}