Settings reference
Every configurable option in Shelfie
Defaults
Located at Settings → Defaults. Applied to the catch-all rule and any rule that doesn't override.
| Field | Type | Default | Description |
|---|---|---|---|
defaultWarningDays |
Integer | 30 | Aging threshold for warning badge |
defaultDangerDays |
Integer | 60 | Aging threshold for danger badge |
defaultDeadDays |
Integer | 90 | Aging threshold for dead badge; queues the auto-action as a pending suggestion |
defaultAutoActionId |
FK → ActionConfig | (none) | Action to queue on the catch-all rule's dead transition |
Rules
Located at Settings → Rules. List of every active rule plus the catch-all.
| Field | Type | Description |
|---|---|---|
name |
String | Display label |
scopeType |
Enum | One of: product, tag, collection, product_type, vendor, category, sku_prefix, location |
scopeValue |
String | The match value (GID, tag string, etc.) |
warningDays |
Integer | Override of global warning threshold |
dangerDays |
Integer | Override of global danger threshold |
deadDays |
Integer | Override of global dead threshold |
priority |
Integer | Tie-breaker (higher wins). Defaults are scope-based |
autoActionId |
FK → ActionConfig | Action to run on dead transition |
isActive |
Boolean | Soft-disable without deleting |
Actions
Located at Settings → Actions.
| Field | Type | Description |
|---|---|---|
name |
String | Display label, e.g. "20% Off Markdown" |
actionType |
Enum | See Action Types |
params |
JSON | Type-specific parameters |
isDefault |
Boolean | System default (editable but not deletable) |
Sync
No direct settings — sync is triggered by:
- Manual: Sync Products button on dashboard
- Webhook:
products/updatefrom Shopify - Reinstall: full re-sync on app install