Authorizations
Token-based authentication with required prefix "Token"
Path Parameters
A unique integer value identifying this location.
Body
Serializer for Location model.
A location must include coordinates (both latitude AND longitude). Address information (city/postal_code and optional address1/address2) is optional but address1/address2 cannot be used alone without city or postal_code.
Country code (e.g., 'NO', 'SE', 'DK')
City name
255
255
Primary address line (must be combined with city or postal_code)
255
Secondary address line (must be combined with city or postal_code)
255
Postal/ZIP code
20
Latitude coordinate (required; must be provided with longitude)
Longitude coordinate (required; must be provided with latitude)
100
Response
Serializer for Location model.
A location must include coordinates (both latitude AND longitude). Address information (city/postal_code and optional address1/address2) is optional but address1/address2 cannot be used alone without city or postal_code.
Location ID in standard UUID format
Country code (e.g., 'NO', 'SE', 'DK')
Latitude coordinate (required; must be provided with longitude)
Longitude coordinate (required; must be provided with latitude)
Timezone automatically assigned based on the country's default timezone (e.g., 'Europe/Copenhagen')
City name
255
255
Primary address line (must be combined with city or postal_code)
255
Secondary address line (must be combined with city or postal_code)
255
Postal/ZIP code
20
100