DEV

Type.

Location

Represents a geographical location, including administrative and geographical details.

Fields

id

ID!

Required

The unique identifier for the location.

administrativeArea

String

The name of the administrative area (e.g., state, province, region) where the location resides.

administrativeAreaCode

String

The code representing the administrative area (e.g., a state or province code).

countryCode

CountryCode!

Required

The ISO 3166-1 alpha-2 code of the country where the location is situated.

createdAt

DateTime!

Required

The timestamp when the location was created.

createdBy

ID!

Required

The ID of the user or system that created the location record.

latitude

Decimal

The latitude of the location in decimal degrees.

line1

String

The first line of the location's address.

line2

String

The second line of the location's address, if applicable.

line3

String

The third line of the location's address, if applicable.

line4

String

The fourth line of the location's address, if applicable.

locality

String

The locality of the location (e.g., city, town, village).

longitude

Decimal

The longitude of the location in decimal degrees.

metadata

[PartyMetadata]

Additional metadata associated with the location.

mode

Mode!

Required

Specifies whether the Location is in live or test mode.

organization

ID!

Required

The unique identifier for the organization associated with the location.

plusCode

String

The Plus Code (Open Location Code) for the location, providing a compact representation of geographic coordinates.

postalCode

String

The postal or ZIP code of the location.

propertyType

PropertyType

The type of property associated with the location (e.g., RESIDENTIAL, COMMERCIAL).

updatedAt

DateTime!

Required

The timestamp when the location record was last updated.

updatedBy

ID!

Required

The ID of the user or system that last updated the location record.

Was this page helpful?