Locations

Integrated and external store locations.

Objects

DraftLocationContent

Fields

  • id (ID!) — The ID of the Content
  • in_signature (Boolean!) — Whether the Content is in the signature
  • initial (Boolean!) — Whether the Content is the initial Content
  • location (DraftLocationContentData!)
  • template_id (ID) — The ID of Template to attribute the content to

DraftLocationContentData

Fields

  • address (String) — The address of the location
  • latitude (Latitude) — The latitude of the location
  • longitude (Longitude) — The longitude of the location
  • title (String) — The title of the location

IntegratedLocation

A location from an Integration

Fields

  • address (Address) — The address of the associated IntegratedLocation
  • created_at (DateTime!) — The date and time the IntegratedLocation was created
  • deleted_at (DateTime) — The date and time the IntegratedLocation was deleted
  • id (ID) — The ID of the IntegratedLocation
  • integration (Integration!) — The integration associated with the IntegratedLocation
  • is_suggested_ecommerce (Boolean!) — Whether the IntegratedLocation is presumably an ecomm location or not — 🚧 Deprecated: Use TeamLocation instead
  • legacy_id (String!) — The legacy identifier of the IntegratedLocation
  • name (String!) — The name of the IntegratedLocation
  • updated_at (DateTime!) — The date and time the IntegratedLocation was last updated

Input Objects

DistanceInput

A Distance in miles or kilometers

Fields

ExternalLocationInput

An ExternalLocation to be added/updated

Fields

  • address (AddressInput) — The address of the ExternalLocation
  • created_at (DateTime) — The date the ExternalLocation was created
  • deleted_at (DateTime) — The date the ExternalLocation was deleted
  • id (ID!) — The unique identifier of the ExternalLocation
  • name (String!) — The name of the ExternalLocation
  • type (ExternalLocationType!) — The type of ExternalLocation
  • updated_at (DateTime) — The date the ExternalLocation was last updated

LocationFilterInput

Fields

Enums

DistanceUnit

Values

  • KM
  • MI

ExternalLocationType

Values

  • APP
  • OTHER
  • POS
  • WEB