Skip to Content

Location

A physical or logical location, such as a warehouse, pickup point, or detected user location.

Type Definition

type Location { zipcode: String city: String subdivisions: [String] country: String continent: String accuracyRadius: Int latitude: Float longitude: Float timeZone: String }

Fields

FieldTypeDescription
zipcodeStringReturns the zipcode for this location.
cityStringReturns the city for this location.
subdivisions[String]Returns the subdivisions for this location.
countryStringReturns the country for this location.
continentStringReturns the continent for this location.
accuracyRadiusIntReturns the accuracy radius in meters for this location.
latitudeFloatReturns the latitude for this location.
longitudeFloatReturns the longitude for this location.
timeZoneStringReturns the time zone for this location.

Relationships

The Location type represents geographic and spatial information that can be associated with various entities in the system, such as warehouses, pickup points, or user-detected locations. It provides comprehensive location data including postal information, geographic coordinates, and timezone details.

Example

query { location { zipcode city subdivisions country continent accuracyRadius latitude longitude timeZone } }

Implements

None

  • String