Types > AuditLog
Commerce APITypesAuditLog
AuditLog

Description

Fields

event: String!

Event type

Example: "variant.created"


geo_accuracy_radius: Int!


geo_city: String!


geo_continent: String!


geo_continent_name: String!


geo_country: String!


geo_country_info: InfoCountry


geo_country_name: String!


geo_latitude: Float!


geo_longitude: Float!


geo_metro_code: Int!


geo_region: String!


geo_region_info: InfoProvince


geo_region_name: String!


geo_timezone: String!


geo_zipcode: String!


ip_address: String!

IP address of the connection through which the API call was made

Example: "127.0.0.1"


ip_domain: String!


ip_isanonymousproxy: Boolean!


ip_isp: String!


ip_issatelliteprovider: Boolean!


ip_netspeed: String!


ip_organization: String!


item_id: String!

ID of the item affected if any

Example: "va_EQzGqWoY"


parent_id: String!

ID of the parent item of the affected item if any

Example: "pd_EQzGqWoY"


payload: String!


session_id: String!


timestamp: String!

Date and time when the API call was made

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


user: User


Used By

Types

AuditLogPage

Preview (typescript)

interface AuditLog {
event: string
geo_accuracy_radius: number
geo_city: string
geo_continent: string
geo_continent_name: string
geo_country: string
geo_country_info?: InfoCountry | null
geo_country_name: string
geo_latitude: number
geo_longitude: number
geo_metro_code: number
geo_region: string
geo_region_info?: InfoProvince | null
geo_region_name: string
geo_timezone: string
geo_zipcode: string
ip_address: string
ip_domain: string
ip_isanonymousproxy: boolean
ip_isp: string
ip_issatelliteprovider: boolean
ip_netspeed: string
ip_organization: string
item_id: string
parent_id: string
payload: string
session_id: string
timestamp: string
user?: User | null
}