Security Event

Object

SecurityEvent

Fields Type Description

id

ID!

The ID of the event

outlet

Outlet

The outlet the event occurred in (if null, it was in global mode)

register

Register

The register the event occurred at (if null, it wasn't at a register)

user

User

The user who caused the event

deviceId

String!

The internal device ID, note, this is randomly assigned to a device when they first open Shopfront

event

SecurityEventEnum!

The event that occurred

metaData

JSON

The internal data relating to the event, contact Shopfront for examples of how this data is stored

ipv4

IPv4

The IP Address (version 4) that this event originated from

ipv6

IPv6

The IP Address (version 6) that this event originated from

userAgent

String

The user agent of the device which created the event

timestamp

DateTime!

The time that the action occurred