Retrieve account and system settings from RepairShopr
I retrieve various system settings from RepairShopr. This includes account-level configurations, UI tab visibility, business hours, locale settings, and printing configurations. These are read-only settings.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYPermissions: Likely requires admin or similar; not explicitly documented for each endpoint.
Get General Settings (GET /settings) Returns comprehensive account settings.
Get Tabs Settings (GET /settings/tabs) Returns which top-level navigation tabs are enabled/visible.
Get Printing Settings (GET /settings/printing) Returns printing-related settings such as messaging channel and registers.
Example call:
// Get all settings
const settings = await skill({ name: "repairshopr-setting" })
// Get tabs configuration
const tabs = await skill({ name: "repairshopr-setting" },
{}, { method: 'GET', endpoint: '/tabs' }
)
// Get printing settings
const printing = await skill({ name: "repairshopr-setting" },
{}, { method: 'GET', endpoint: '/printing' }
)
Response includes (from main /settings):
{
"customers": { "required_fields": null, "customer_fields": [], "customer_field_answers": [] },
"assets": { "asset_types": [], "asset_type_fields": [], "asset_type_field_answers": [] },
"locale": {
"iso_code": "en",
"currency_symbol": "$",
"date_format": "mm-dd-yy",
"time_format": "hh:mm tt",
"time_zone": "America/Los_Angeles",
"time_offset": "-08:00"
},
"ticket": {
"ticket_types": [],
"ticket_type_fields": [],
"problem_types": ["Virus", "TuneUp", "Hardware", "Software", "Other"],
"priorities": ["", "0 Urgent", "1 High", "2 Normal", "3 Low"]
},
"business_hours_enabled": true,
"business_hours": [
{ "day": "Monday", "start": "09:00", "end": "17:00", "closed": false },
// ...
],
"default_holiday_calendar": "USA",
"msp_addon": null
}
From /tabs: object with boolean flags for each feature area (msp_dashboard, customers, assets, tickets, invoices, etc.)
From /printing: object with messaging_channel, registers array.
repairshopr-appointment - Uses business hours for schedulingrepairshopr-ticket - Ticket types/priorities from settings