The Location Object

AttributeTypeDescription
idstringA stable, unique, Railway-provided identifier, always prefixed with loc_.
namestringThe name of the location. Ex: Acme Urgent Care Center.
addressobject
address.street_line1stringStreet address or PO box.
address.street_line2string|nullApartment, suite, unit, or building.
address.citystringCity, district, suburb, town, or village.
address.statestringThe two-letter state code.
address.postal_codestringThe postal code or zip code.
coordinatesobject|null
coordinates.latitudenumberThe latitude (in degrees).
coordinates.longitudenumberThe longitude (in degrees).
phone_numberstringThe location's phone number in E.164 format.
fax_numberstringThe location's fax number.
typesstring[]|null(Future field) A list of the type of facilities that are present at this location. Ex: Urgent, Hospital Care, etc. We currently just return null for this field.
created_atdatetimeISO 8601 timestamp of when the location was created.
updated_atdatetimeISO 8601 timestamp of when the location was last updated.