{"title":"StoreConnect Audit Event Object Reference","slug":"storeconnect-audit-event--mdt-object-reference","url":"https://support.storeconnect.com/articles/storeconnect-audit-event--mdt-object-reference","url_markdown":"https://support.storeconnect.com/articles/storeconnect-audit-event--mdt-object-reference.md","subtitle":null,"summary":"Defines the event types recorded in your Audit Log, and the Category, Severity and retention period applied to each.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, StoreConnect Audit Event, s_c__StoreConnect_Audit_Event__mdt, api","last_modified":"2026-08-27T23:41:32+0000","body_markdown":"## Overview\n\nDefines the event types recorded in your Audit Log, and the Category, Severity and retention period applied to each.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__StoreConnect_Audit_Event__mdt` |\n| **Label** | StoreConnect Audit Event |\n| **Plural Label** | StoreConnect Audit Events |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Category | `s_c__Category__c` | Text(40) | Yes | Category grouping for this event type (e.g. AUTHENTICATION, PASSWORD, PAYMENTS, POS). Copied onto each audit log record and used by per-store category filtering. |\n| Retention (Days) | `s_c__Retention_Days__c` | Number(6,0) | No | Default retention period, in days, for audit log records of this event type. Records older than this are deleted automatically, unless a store sets a longer retention period. |\n| Severity | `s_c__Severity__c` | Text(20) | Yes | Severity assigned to audit log records of this event type (e.g. INFO, NOTICE, WARNING). Copied onto each record so audit logs can be filtered and prioritised by importance. |"}