Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
What are locations?
Locations in Omneo are used to attribute interactions, transactions and customer events. Locations can be physical or virtual stores such as Kiosks, storefronts and eCommerce. Omneo can track users first join locations, preferred location or even most visited location, and can be used to influence incentives. We encourage you to store as much information about a location in Omneo, but as a minimum you’ll need to store the name and identifier. It’s also important to store theexternal_id which can be referenced by your 3rd party systems such as POS.
See Locations for a full explanation of location types, configuration, and how locations relate to transactions and customer profiles.
Location properties
Storing unknown locationsIf a customer interacts or transacts at a Location with an unknown ‘external ID’ to Omneo, a placeholder Location will be created by Omneo that you can extend with more information later in Omneo CX Manager.
Location Attributes
| Attribute | Description |
|---|---|
id INTEGER READ-ONLY | The unique Omneo ID of the location |
type STRING | A simple string specifying the type of the location Example: “popup”, “temp”, “kiosk” |
name STRING | The display name of the location |
description STRING | A description of the location |
phone STRING | The primary phone number of the location |
email STRING EMAIL | The primary email address for the location |
timezone TIMEZONE | The timezone the location is in. Must be a valid [timezone] (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) |
external_id STRING | The external id of the location. This is usually the an external reference for this location in your existing systems outside Omneo |
external_code STRING | The external code of the location This is usually the location reference code used in your external systems outside Omneo. |
is_published BOOLEAN | Denotes whether this location is available as a usable location |
is_permanently_closed BOOLEAN | Denotes whether this location is permanently closed |
address ADDRESS | The address of the location |
normal_hours ARRAY | The regularly scheduled hours of operation at the location. |
special_hours ARRAY | An Array of objects containing special hours. Special hours fall outside the normal hours of operation. These can be recurring, or once off changes to hours. For example: Christmas hours |
tags ARRAY | An array of tags attached to this location |
custom_fields ARRAY | Custom fields attached to this location |
created_at DATE-TIME | The UTC date & time the location record was created in ISO 8601 format. |
| updated_at `DATE-TIME | The UTC date & time the location record was last updated in ISO 8601 format. |
Normal Hours
Normal hours define the standard hours of operation for a location. These are defined by each day of the week, and repeat indefinitely.Closing a store with Normal Hours
A store is considered closed if theopen_at or close_at times are not set.
A store is also considered closed if no hours exist for the day_of_the_week
Normal Hours Attributes
| Attribute | Description |
|---|---|
| id | The Omneo ID of the normal hour group |
| location_id | The location the hour group applies to |
| day_of_week | The day of week the hours apply |
| open_at | The location opening time |
| close_at | The location closing time |
| created_at | The time the hour group was created |
| updated_at | The time the hour group was last updated |
Special Hours
Special hours only apply on the date they are set, and can be set to repeat when needed. Special hours should be considered before normal hours, when determining the store opening/closing hours.Closing a store with special hours
To close a store on a specified date, you can specify a Special Hour group with noopen_at and close_at date. If both dates are empty, the store is considered closed for the duration
Special Hours Attributes
id INTEGER | The Omneo ID of the normal hour group |
location_id INTEGER | The location the hour group applies to |
name STRING | The name for the special hour group |
is_repeating BOOLEAN | True = This Special Hour group repeats yearly for the specified start_at and end_at False = This Special Hour group occurs only once, for the specified start_at and end_at dates and will never occur again. |
open_at DATE-TIME | The opening time for the location |
close_at DATE-TIME | The location closing time |
start_at DATE-TIME | The start date from which these special hours will apply to the location |
end_at DATE-TIME | The end date from which these special hours will stop applying to the location |
created_at TIMESTAMP | The time the hour group was created |
updated_at TIMESTAMP | The time the hour group was last updated |