onShopSettingsSaved
Purpose
Triggered when shop settings are updated. Use this hook to log configuration changes for auditing.
When It Triggers
Owner saves changes to shop settings
Settings are updated in the database
Parameters
Parameter
Type
Description
data.source
number
Server ID of actor
data.shopId
string
Unique shop identifier
data.shopName
string
Display name of the shop
data.actorIdentifier
string
Identifier of person who saved
data.actorName
string
Name of person who saved
data.previousSettings
table
Previous settings
data.newSettings
table
New settings that were applied
data.changes
string
Description of what changed
data.timestamp
number
Server timestamp
Example
Last updated